HatchBrush Class
Contents
[
Hide
]Summary: Defines a rectangular brush with a hatch style, a foreground color, and a background color. This class cannot be inherited.
Module: aspose.psd.brushes
Full Name: aspose.psd.brushes.HatchBrush
Inheritance: Brush
Aspose.PSD Version: 24.9.0
Constructors
Name | Description |
---|---|
HatchBrush() | Initializes a new instance of the HatchBrush class |
Properties
Name | Type | Access | Description |
---|---|---|---|
background_color | Color | r/w | Gets or sets the color of spaces between the hatch lines. |
disposed | bool | r | Gets a value indicating whether this instance is disposed. |
foreground_color | Color | r/w | Gets or sets the color of hatch lines. |
hatch_style | HatchStyle | r/w | Gets or sets the hatch style of this brush. |
opacity | float | r/w | Gets or sets the brush opacity. The value should be between 0 and 1. Value of 0 means that brush is fully visible, value of 1 means the brush is fully opaque. |
Methods
Name | Description |
---|---|
deep_clone() | Creates a new deep clone of the current Brush. |
Constructor: HatchBrush()
HatchBrush()
Initializes a new instance of the HatchBrush class
Method: deep_clone()
deep_clone()
Creates a new deep clone of the current Brush.
Returns
Type | Description |
---|---|
Brush | A new Brush which is the deep clone of this Brush instance. |