EmfPlusHatchBrushData

Inheritance: java.lang.Object, com.aspose.imaging.fileformats.emf.MetaObject, com.aspose.imaging.fileformats.emf.emfplus.objects.EmfPlusObject, com.aspose.imaging.fileformats.emf.emfplus.objects.EmfPlusStructureObjectType, com.aspose.imaging.fileformats.emf.emfplus.objects.EmfPlusBaseBrushData

public final class EmfPlusHatchBrushData extends EmfPlusBaseBrushData

The EmfPlusHatchBrushData object specifies a hatch pattern for a graphics brush.

Graphics brushes are specified by 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

ConstructorDescription
EmfPlusHatchBrushData()

Methods

MethodDescription
getBackArgb32Color()Gets or sets a 32-bit EmfPlusArgb object that specifies the color used to paint the background of the hatch pattern.
setBackArgb32Color(int value)Gets or sets a 32-bit EmfPlusArgb object that specifies the color used to paint the background of the hatch pattern.
getForeArgb32Color()Gets or sets a 32-bit EmfPlusArgb object that specifies the color used to draw the lines of the hatch pattern.
setForeArgb32Color(int value)Gets or sets a 32-bit EmfPlusArgb object that specifies the color used to draw the lines of the hatch pattern.
getHatchStyle()Gets or sets a 32-bit unsigned integer that specifies the brush hatch style.
setHatchStyle(int value)Gets or sets a 32-bit unsigned integer that specifies the brush hatch style.

EmfPlusHatchBrushData()

public EmfPlusHatchBrushData()

getBackArgb32Color()

public int getBackArgb32Color()

Gets or sets a 32-bit EmfPlusArgb object that specifies the color used to paint the background of the hatch pattern.

Returns: int

setBackArgb32Color(int value)

public void setBackArgb32Color(int value)

Gets or sets a 32-bit EmfPlusArgb object that specifies the color used to paint the background of the hatch pattern.

Parameters:

ParameterTypeDescription
valueint

getForeArgb32Color()

public int getForeArgb32Color()

Gets or sets a 32-bit EmfPlusArgb object that specifies the color used to draw the lines of the hatch pattern.

Returns: int

setForeArgb32Color(int value)

public void setForeArgb32Color(int value)

Gets or sets a 32-bit EmfPlusArgb object that specifies the color used to draw the lines of the hatch pattern.

Parameters:

ParameterTypeDescription
valueint

getHatchStyle()

public int getHatchStyle()

Gets or sets a 32-bit unsigned integer that specifies the brush hatch style. It MUST be defined in the EmfPlusHatchStyle enumeration.

Returns: int

setHatchStyle(int value)

public void setHatchStyle(int value)

Gets or sets a 32-bit unsigned integer that specifies the brush hatch style. It MUST be defined in the EmfPlusHatchStyle enumeration.

Parameters:

ParameterTypeDescription
valueint