Packages

 

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

Class EmfPlusDrawRects

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


    public final class EmfPlusDrawRects
    extends EmfPlusDrawingRecordType

    The EmfPlusDrawRects record specifies drawing a series of rectangles

    • Constructor Detail

      • EmfPlusDrawRects

        public EmfPlusDrawRects(EmfPlusRecord source)

        Initializes a new instance of the EmfPlusDrawRects class.

        Parameters:
        source - The source.
    • Method Detail

      • getCompressed

        public boolean getCompressed()

        Gets or sets a value indicating whether the PointData 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).

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

        public void setCompressed(boolean value)

        Gets or sets a value indicating whether the PointData 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).

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

        public byte getObjectId()

        Gets or sets the object identifier. The index of an EmfPlusPen object (section 2.2.1.7) in the EMF+ Object Table to draw the rectangles. The value MUST be zero to 63, inclusive.

        Value: The object identifier.
      • setObjectId

        public void setObjectId(byte value)

        Gets or sets the object identifier. The index of an EmfPlusPen object (section 2.2.1.7) in the EMF+ Object Table to draw the rectangles. The value MUST be zero to 63, inclusive.

        Value: The object identifier.
      • getRectData

        public RectangleF[] getRectData()

        Gets or sets the rect 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 rect data An array of either an EmfPlusRect or EmfPlusRectF objects of Count length that defines the rectangle data.