Packages

 

com.aspose.imaging.fileformats.wmf.objects

Class WmfCreatePatternBrush

  • All Implemented Interfaces:
    Cloneable


    public class WmfCreatePatternBrush
    extends WmfGraphicObject

    The META_CREATEPATTERNBRUSH record creates a brush object with a pattern specified by a bitmap.

    • Constructor Detail

      • WmfCreatePatternBrush

        public WmfCreatePatternBrush()

        WMFs the record.

    • Method Detail

      • getBitmap

        public WmfBitmap16 getBitmap()

        Gets or sets the bitmap.

        Value: The bitmap that specifies the pattern for the brush.
      • setBitmap

        public void setBitmap(WmfBitmap16 value)

        Gets or sets the bitmap.

        Value: The bitmap that specifies the pattern for the brush.
      • getReserved

        public byte[] getReserved()

        Gets or sets the reserved.

        Value: The reserved. This field MUST be ignored.
      • setReserved

        public void setReserved(byte[] value)

        Gets or sets the reserved.

        Value: The reserved. This field MUST be ignored.
      • 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.
      • setPattern

        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.