ITextureBrush class
ITextureBrush class
Defines brush interface that uses an image to fill the interior of a shape.
The ITextureBrush type exposes the following members:
Properties
Property | Description |
---|---|
image | Gets or sets the image used by the brush. |
opacity | Get opacity value in a color transform matrix. |
image_area | Specifies the portion of the image used by the brush. If it equals RectangleF.Empty then the whole image will be used. Coordinates are in pixels. |
color_map | The number of elements must be even. Every even element is old color. Every odd element is new color. |
transformation_matrix | Get the transform. The transform defines a local geometric transform for this brush. |
spread_mode | Gets or sets the SpreadMode mode. SpreadMode mode specifies how a texture or gradient is tiled when it is smaller than the area being filled. |
type | Gets type of brush as BrushType . |
supports_shader | Checks if the brush supports a shader. |
Methods
Method | Description |
---|---|
to_native | Converts the brush to a native representation. |
See Also
- module
aspose.svg.drawing
- class
BrushType
- class
ITransformableBrush