create_linear_gradient_brush method
create_linear_gradient_brush
Creates a linear gradient brush with the specified parameters.
Returns
The created ILinearGradientBrush.
def create_linear_gradient_brush(self, rect, colors):
...
| Parameter | Type | Description |
|---|---|---|
| rect | aspose.pydrawing.RectangleF | The rectangle defining the gradient bounds. |
| colors | list | The interpolation colors for the gradient. See IInterpolationColor. |
See Also
- module
aspose.svg.drawing - class
IDrawingFactory - class
IInterpolationColor - class
ILinearGradientBrush