Packages

 

com.aspose.imaging.fileformats.emf.emfplus.records

Class EmfPlusFillRects

  • All Implemented Interfaces:
    com.aspose.internal.fileformats.emf.IRecord, Cloneable


    public final class EmfPlusFillRects
    extends EmfPlusDrawingRecordType

    The EmfPlusFillRects record specifies filling the interiors of a series of rectangles

    • Constructor Summary

      Constructors 
      Constructor and Description
      EmfPlusFillRects(EmfPlusRecord source)
      Initializes a new instance of the EmfPlusFillRects class.
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method and Description
      int getBrushId()
      Gets or sets the brush identifier A 32-bit unsigned integer that defines the brush, the content of which is determined by the S bit in the Flags field.
      boolean getCompressed()
      Gets or sets a value indicating whether this EmfPlusFillRects is compressed.
      RectangleF[] getRectData()
      Gets or sets the rectangle data An array of either an EmfPlusRect or EmfPlusRectF objects of Count length that defines the rectangle data.
      boolean isColor()
      Gets or sets a value indicating whether this instance is color.
      void setBrushId(int value)
      Gets or sets the brush identifier A 32-bit unsigned integer that defines the brush, the content of which is determined by the S bit in the Flags field.
      void setColor(boolean value)
      Gets or sets a value indicating whether this instance is color.
      void setCompressed(boolean value)
      Gets or sets a value indicating whether this EmfPlusFillRects is compressed.
      void setRectData(RectangleF[] value)
      Gets or sets the rectangle data An array of either an EmfPlusRect or EmfPlusRectF objects of Count length that defines the rectangle data.
    • Constructor Detail

      • EmfPlusFillRects

        public EmfPlusFillRects(EmfPlusRecord source)

        Initializes a new instance of the EmfPlusFillRects class.

        Parameters:
        source - The source.
    • Method Detail

      • isColor

        public boolean isColor()

        Gets or sets a value indicating whether this instance is color. If set, BrushId specifies a color as an EmfPlusARGB object (section 2.2.2.1). If clear, BrushId contains the index of an EmfPlusBrush object (section 2.2.1.1) in the EMF+ Object Table

        Value: true if this instance is color; otherwise, false.
      • setColor

        public void setColor(boolean value)

        Gets or sets a value indicating whether this instance is color. If set, BrushId specifies a color as an EmfPlusARGB object (section 2.2.2.1). If clear, BrushId contains the index of an EmfPlusBrush object (section 2.2.1.1) in the EMF+ Object Table

        Value: true if this instance is color; otherwise, false.
      • getCompressed

        public boolean getCompressed()

        Gets or sets a value indicating whether this EmfPlusFillRects is compressed. If set, RectData contains an EmfPlusRect object (section 2.2.2.38). If clear, RectData contains an EmfPlusRectF object (section 2.2.2.39) object

        Value: true if compressed; otherwise, false.
      • setCompressed

        public void setCompressed(boolean value)

        Gets or sets a value indicating whether this EmfPlusFillRects is compressed. If set, RectData contains an EmfPlusRect object (section 2.2.2.38). If clear, RectData contains an EmfPlusRectF object (section 2.2.2.39) object

        Value: true if compressed; otherwise, false.
      • getBrushId

        public int getBrushId()

        Gets or sets the brush identifier A 32-bit unsigned integer that defines the brush, the content of which is determined by the S bit in the Flags field.

      • setBrushId

        public void setBrushId(int value)

        Gets or sets the brush identifier A 32-bit unsigned integer that defines the brush, the content of which is determined by the S bit in the Flags field.

      • getRectData

        public RectangleF[] getRectData()

        Gets or sets the rectangle data An array of either an EmfPlusRect or EmfPlusRectF objects of Count length that defines the rectangle data.

      • setRectData

        public void setRectData(RectangleF[] value)

        Gets or sets the rectangle data An array of either an EmfPlusRect or EmfPlusRectF objects of Count length that defines the rectangle data.