HatchBrush Class

Summary: Defines a rectangular brush with a hatch style, a foreground color, and a background color. This class cannot be inherited.

Module: aspose.imaging.brushes

Full Name: aspose.imaging.brushes.HatchBrush

Inheritance: Brush

Constructors

NameDescription
HatchBrush()Initializes a new instance of the HatchBrush class

Properties

NameTypeAccessDescription
background_colorColorr/wGets or sets the color of spaces between the hatch lines.
disposedboolrGets a value indicating whether this instance is disposed.
foreground_colorColorr/wGets or sets the color of hatch lines.
hatch_styleHatchStyler/wGets or sets the hatch style of this brush.
opacityfloatr/wGets 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

NameDescription
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

TypeDescription
BrushA new Brush which is the deep clone of this Brush instance.