public class WmfDibCreatePatternBrush extends WmfGraphicObject
The META_DIBCREATEPATTERNBRUSH record creates a Brush Object (section 2.2.1.1) with a pattern specified by a DeviceIndependentBitmap (DIB) Object (section 2.2.2.9).
Constructor and Description |
---|
WmfDibCreatePatternBrush() |
Modifier and Type | Method and Description |
---|---|
int |
getColorUsage()
Gets or sets the color usage.
|
WmfDeviceIndependentBitmap |
getSourceBitmap()
Gets or sets the source bitmap.
|
int |
getStyle()
Gets or sets the style.
|
void |
setColorUsage(int value)
Gets or sets the color usage.
|
void |
setSourceBitmap(WmfDeviceIndependentBitmap value)
Gets or sets the source bitmap.
|
void |
setStyle(int value)
Gets or sets the style.
|
getIndex, setIndex
public int getStyle()
Gets or sets the style.
Value: The legal values for this field are defined as follows: if the value is not BS_PATTERN, BS_DIBPATTERNPT MUST be assumed. These values are specified in the BrushStyle Enumeration (section 2.1.1.4).public void setStyle(int value)
Gets or sets the style.
Value: The legal values for this field are defined as follows: if the value is not BS_PATTERN, BS_DIBPATTERNPT MUST be assumed. These values are specified in the BrushStyle Enumeration (section 2.1.1.4).public int getColorUsage()
Gets or sets the color usage.
Value: The Colors field of a DIB Object contains explicit RGB values, or indexes into a palette.public void setColorUsage(int value)
Gets or sets the color usage.
Value: The Colors field of a DIB Object contains explicit RGB values, or indexes into a palette.public WmfDeviceIndependentBitmap getSourceBitmap()
Gets or sets the source bitmap.
Value: Variable-bit DIB Object data that defines the pattern to use in the brush.public void setSourceBitmap(WmfDeviceIndependentBitmap value)
Gets or sets the source bitmap.
Value: Variable-bit DIB Object data that defines the pattern to use in the brush.