EmfLogBrushEx
Inheritance: java.lang.Object, com.aspose.imaging.fileformats.emf.MetaObject, com.aspose.imaging.fileformats.emf.emf.objects.EmfObject
public final class EmfLogBrushEx extends EmfObject
The LogBrushEx object defines the style, color, and pattern of a device-independent brush.
Constructors
Constructor | Description |
---|---|
EmfLogBrushEx() |
Methods
Method | Description |
---|---|
getBrushStyle() | Gets or sets a 32-bit unsigned integer that specifies the brush style. |
setBrushStyle(int value) | Gets or sets a 32-bit unsigned integer that specifies the brush style. |
getArgb32ColorRef() | Gets or sets a 32-bit WMF ColorRef object ([MS-WMF] section 2.2.2.8) that specifies a color. |
setArgb32ColorRef(int value) | Gets or sets a 32-bit WMF ColorRef object ([MS-WMF] section 2.2.2.8) that specifies a color. |
getBrushHatch() | Gets or sets a 32-bit unsigned field that contains the brush hatch data. |
setBrushHatch(int value) | Gets or sets a 32-bit unsigned field that contains the brush hatch data. |
EmfLogBrushEx()
public EmfLogBrushEx()
getBrushStyle()
public int getBrushStyle()
Gets or sets a 32-bit unsigned integer that specifies the brush style. The value MUST be an enumeration from WMF BrushStyle enumeration ([MS-WMF] section 2.1.1.4). The style values that are supported in this structure are listed later in this section. The BS_NULL style SHOULD be used to specify a brush that has no effect.
Returns: int
setBrushStyle(int value)
public void setBrushStyle(int value)
Gets or sets a 32-bit unsigned integer that specifies the brush style. The value MUST be an enumeration from WMF BrushStyle enumeration ([MS-WMF] section 2.1.1.4). The style values that are supported in this structure are listed later in this section. The BS_NULL style SHOULD be used to specify a brush that has no effect.
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
getArgb32ColorRef()
public int getArgb32ColorRef()
Gets or sets a 32-bit WMF ColorRef object ([MS-WMF] section 2.2.2.8) that specifies a color. The interpretation of this field depends on the value of BrushStyle, as explained in the following table.
Value: The 32-bit ARGB color
Returns: int
setArgb32ColorRef(int value)
public void setArgb32ColorRef(int value)
Gets or sets a 32-bit WMF ColorRef object ([MS-WMF] section 2.2.2.8) that specifies a color. The interpretation of this field depends on the value of BrushStyle, as explained in the following table.
Value: The 32-bit ARGB color
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |
getBrushHatch()
public int getBrushHatch()
Gets or sets a 32-bit unsigned field that contains the brush hatch data. Its interpretation depends on the value of BrushStyle,
Returns: int
setBrushHatch(int value)
public void setBrushHatch(int value)
Gets or sets a 32-bit unsigned field that contains the brush hatch data. Its interpretation depends on the value of BrushStyle,
Parameters:
Parameter | Type | Description |
---|---|---|
value | int |