create_radial_gradient_brush method
Contents
[
Hide
]create_radial_gradient_brush
Creates a new radial gradient brush.
Returns
New radial gradient brush.
def create_radial_gradient_brush(self, center, gradient_origin, radius_x, radius_y):
...
Parameter | Type | Description |
---|---|---|
center | aspose.pydrawing.PointF | The center point of the radial gradient (that is, the center of the ellipse). |
gradient_origin | aspose.pydrawing.PointF | The origin point of the radial gradient. |
radius_x | float | The radius in the x dimension of the ellipse which defines the radial gradient. |
radius_y | float | The radius in the y dimension of the ellipse which defines the radial gradient. |
create_radial_gradient_brush {#System.Collections.Generic.List<Aspose.Page.XPS.XpsModel.XpsGradientStop>-aspose.pydrawing.PointF-aspose.pydrawing.PointF-float-float}
def create_radial_gradient_brush(self, gradient_stops, center, gradient_origin, radius_x, radius_y):
...
Parameter | Type | Description |
---|---|---|
gradient_stops | System.Collections.Generic.List<Aspose.Page.XPS.XpsModel.XpsGradientStop> | |
center | aspose.pydrawing.PointF | |
gradient_origin | aspose.pydrawing.PointF | |
radius_x | float | |
radius_y | float |
See Also
- module
aspose.page.xps
- class
XpsDocument
- class
XpsRadialGradientBrush