WmfDibCreatePatternBrush

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 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).

Constructors

ConstructorDescription
WmfDibCreatePatternBrush()

Methods

MethodDescription
getStyle()Gets or sets the style.
setStyle(int value)Gets or sets the style.
getColorUsage()Gets or sets the color usage.
setColorUsage(int value)Gets or sets the color usage.
getSourceBitmap()Gets or sets the source bitmap.
setSourceBitmap(WmfDeviceIndependentBitmap value)Gets or sets the source bitmap.

WmfDibCreatePatternBrush()

public WmfDibCreatePatternBrush()

getStyle()

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).

Returns: int

setStyle(int value)

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).

Parameters:

ParameterTypeDescription
valueint

getColorUsage()

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.

Returns: int

setColorUsage(int value)

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.

Parameters:

ParameterTypeDescription
valueint

getSourceBitmap()

public WmfDeviceIndependentBitmap getSourceBitmap()

Gets or sets the source bitmap.

Value: Variable-bit DIB Object data that defines the pattern to use in the brush.

Returns: WmfDeviceIndependentBitmap

setSourceBitmap(WmfDeviceIndependentBitmap value)

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.

Parameters:

ParameterTypeDescription
valueWmfDeviceIndependentBitmap