create_radial_gradient_brush method

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):
    ...
ParameterTypeDescription
centeraspose.pydrawing.PointFThe center point of the radial gradient (that is, the center of the ellipse).
gradient_originaspose.pydrawing.PointFThe origin point of the radial gradient.
radius_xfloatThe radius in the x dimension of the ellipse which defines the radial gradient.
radius_yfloatThe 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):
    ...
ParameterTypeDescription
gradient_stopsSystem.Collections.Generic.List<Aspose.Page.XPS.XpsModel.XpsGradientStop>
centeraspose.pydrawing.PointF
gradient_originaspose.pydrawing.PointF
radius_xfloat
radius_yfloat

See Also