create_texture_brush method
Contents
[
Hide
]create_texture_brush
Creates a texture brush with the specified parameters.
Returns
The created ITextureBrush.
def create_texture_brush(self, image_bytes, spread_mode, opacity, transformation_matrix):
...
| Parameter | Type | Description |
|---|---|---|
| image_bytes | bytes | The byte array containing the image data. |
| spread_mode | SpreadMode | The spread mode for the brush. See SpreadMode. |
| opacity | float | The opacity of the brush. |
| transformation_matrix | IMatrix | The transformation matrix for the brush. |
create_texture_brush
Creates a texture brush with the specified parameters for an elliptical shape.
Returns
The created ITextureBrush.
def create_texture_brush(self, center_point, transformation, interpolation_colors, bounds, opacity, elipse_rect):
...
| Parameter | Type | Description |
|---|---|---|
| center_point | aspose.pydrawing.PointF | The center point of the ellipse. |
| transformation | IMatrix | The transformation matrix for the brush. See IMatrix. |
| interpolation_colors | list | The interpolation colors for the brush. See IInterpolationColor. |
| bounds | aspose.pydrawing.RectangleF | The bounds of the brush. |
| opacity | float | The opacity of the brush. |
| elipse_rect | aspose.pydrawing.RectangleF | The rectangle defining the elliptical shape. |
See Also
- module
aspose.svg.drawing - class
IDrawingFactory - class
IInterpolationColor - class
IMatrix - class
ITextureBrush - class
SpreadMode