WmfCreatePatternBrush
Inheritance: java.lang.Object, com.aspose.imaging.fileformats.emf.MetaObject, com.aspose.imaging.fileformats.wmf.objects.WmfObject, com.aspose.imaging.fileformats.wmf.objects.WmfGraphicObject
public class WmfCreatePatternBrush extends WmfGraphicObject
The META_CREATEPATTERNBRUSH record creates a brush object with a pattern specified by a bitmap.
Constructors
Constructor | Description |
---|---|
WmfCreatePatternBrush() | WMFs the record. |
Methods
Method | Description |
---|---|
getBitmap() | Gets or sets the bitmap. |
setBitmap(WmfBitmap16 value) | Gets or sets the bitmap. |
getReserved() | Gets or sets the reserved. |
setReserved(byte[] value) | Gets or sets the reserved. |
getPattern() | Gets or sets the pattern. |
setPattern(byte[] value) | Gets or sets the pattern. |
WmfCreatePatternBrush()
public WmfCreatePatternBrush()
WMFs the record.
getBitmap()
public WmfBitmap16 getBitmap()
Gets or sets the bitmap.
Value: The bitmap that specifies the pattern for the brush.
Returns: WmfBitmap16
setBitmap(WmfBitmap16 value)
public void setBitmap(WmfBitmap16 value)
Gets or sets the bitmap.
Value: The bitmap that specifies the pattern for the brush.
Parameters:
Parameter | Type | Description |
---|---|---|
value | WmfBitmap16 |
getReserved()
public byte[] getReserved()
Gets or sets the reserved.
Value: The reserved. This field MUST be ignored.
Returns: byte[]
setReserved(byte[] value)
public void setReserved(byte[] value)
Gets or sets the reserved.
Value: The reserved. This field MUST be ignored.
Parameters:
Parameter | Type | Description |
---|---|---|
value | byte[] |
getPattern()
public byte[] getPattern()
Gets or sets the pattern.
Value: A variable-length array of bytes that defines the bitmap pixel data that composes the brush pattern. The length of this field, in bytes, can be computed from bitmap parameters as follows.
Returns: byte[]
setPattern(byte[] value)
public void setPattern(byte[] value)
Gets or sets the pattern.
Value: A variable-length array of bytes that defines the bitmap pixel data that composes the brush pattern. The length of this field, in bytes, can be computed from bitmap parameters as follows.
Parameters:
Parameter | Type | Description |
---|---|---|
value | byte[] |