Class EmfPlusHatchBrushData
Namespace: Aspose.Imaging.FileFormats.Emf.EmfPlus.Objects
Assembly: Aspose.Imaging.dll (25.2.0)
The EmfPlusHatchBrushData object specifies a hatch pattern for a graphics brush.
public sealed class EmfPlusHatchBrushData : EmfPlusBaseBrushData
Inheritance
object ← MetaObject ← EmfPlusObject ← EmfPlusStructureObjectType ← EmfPlusBaseBrushData ← EmfPlusHatchBrushData
Inherited Members
object.GetType(), object.ToString(), object.Equals(object?), object.Equals(object?, object?), object.ReferenceEquals(object?, object?), object.GetHashCode()
Remarks
Graphics brushes are specified by Aspose.Imaging.FileFormats.Emf.EmfPlus.Objects.EmfPlusBrush objects (section 2.2.1.1). A hatch brush paints a background and draws a pattern of lines, dots, dashes, squares, and crosshatch lines over this background. The hatch brush defines two colors: one for the background and one for the pattern over the background. The color of the background is called the background color, and the color of the pattern is called the foreground color.
Constructors
EmfPlusHatchBrushData()
public EmfPlusHatchBrushData()
Properties
BackArgb32Color
Gets or sets a 32-bit EmfPlusArgb object that specifies the color used to paint the background of the hatch pattern.
public int BackArgb32Color { get; set; }
Property Value
ForeArgb32Color
Gets or sets a 32-bit EmfPlusArgb object that specifies the color used to draw the lines of the hatch pattern.
public int ForeArgb32Color { get; set; }
Property Value
HatchStyle
Gets or sets a 32-bit unsigned integer that specifies the brush hatch style. It MUST be defined in the Aspose.Imaging.FileFormats.Emf.EmfPlus.Consts.EmfPlusHatchStyle enumeration.
public EmfPlusHatchStyle HatchStyle { get; set; }