Packages

 

com.aspose.imaging.fileformats.wmf.objects

Class WmfDibCreatePatternBrush

  • All Implemented Interfaces:
    Cloneable


    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 Detail

      • WmfDibCreatePatternBrush

        public WmfDibCreatePatternBrush()
    • Method Detail

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

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

        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.
      • 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.
      • setSourceBitmap

        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.