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):
    ...
ParameterTypeDescription
start_pointaspose.pydrawing.PointFThe starting point of the linear gradient.
end_pointaspose.pydrawing.PointFThe 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):
    ...
ParameterTypeDescription
gradient_stopsSystem.Collections.Generic.List<Aspose.Page.XPS.XpsModel.XpsGradientStop>
start_pointaspose.pydrawing.PointF
end_pointaspose.pydrawing.PointF

See Also