create_linear_gradient_brush method
create_linear_gradient_brush
Creates a new linear gradient brush.
Returns
New linear gradient brush.
def create_linear_gradient_brush(self, start_point, end_point):
...
Parameter | Type | Description |
---|---|---|
start_point | aspose.pydrawing.PointF | The starting point of the linear gradient. |
end_point | aspose.pydrawing.PointF | The end point of the linear gradient. |
create_linear_gradient_brush {#System.Collections.Generic.List<Aspose.Page.XPS.XpsModel.XpsGradientStop>-aspose.pydrawing.PointF-aspose.pydrawing.PointF}
def create_linear_gradient_brush(self, gradient_stops, start_point, end_point):
...
Parameter | Type | Description |
---|---|---|
gradient_stops | System.Collections.Generic.List<Aspose.Page.XPS.XpsModel.XpsGradientStop> | |
start_point | aspose.pydrawing.PointF | |
end_point | aspose.pydrawing.PointF |
See Also
- module
aspose.page.xps
- class
XpsDocument
- class
XpsLinearGradientBrush