Packages

 

com.aspose.imaging.fileformats.wmf.objects

Class WmfRegion

  • All Implemented Interfaces:
    Cloneable


    public class WmfRegion
    extends MetaObject

    The Region Object defines a potentially non-rectilinear shape defined by an array of scanlines.

    • Constructor Detail

      • WmfRegion

        public WmfRegion()
    • Method Detail

      • getNextInChain

        public short getNextInChain()

        Gets or sets the next in chain.

        Value: A value that MUST be ignored.
      • setNextInChain

        public void setNextInChain(short value)

        Gets or sets the next in chain.

        Value: A value that MUST be ignored.
      • getObjectType

        public short getObjectType()

        Gets or sets the type of the object.

        Value: The region identifier. It MUST be 0x0006.
      • setObjectType

        public void setObjectType(short value)

        Gets or sets the type of the object.

        Value: The region identifier. It MUST be 0x0006.
      • getObjectCount

        public int getObjectCount()

        Gets or sets the object count.

        Value: A value that MUST be ignored.
      • setObjectCount

        public void setObjectCount(int value)

        Gets or sets the object count.

        Value: A value that MUST be ignored.
      • getRegionSize

        public short getRegionSize()

        Gets or sets the size of the region.

        Value: The size of the region in bytes plus the size of aScans in bytes.
      • setRegionSize

        public void setRegionSize(short value)

        Gets or sets the size of the region.

        Value: The size of the region in bytes plus the size of aScans in bytes.
      • getScanCount

        public short getScanCount()

        Gets or sets the scan count.

        Value: The number of scanlines composing the region.
      • setScanCount

        public void setScanCount(short value)

        Gets or sets the scan count.

        Value: The number of scanlines composing the region.
      • getMaxScan

        public short getMaxScan()

        Gets or sets the maximum scan.

        Value: The maximum number of points in any one scan in this region.
      • setMaxScan

        public void setMaxScan(short value)

        Gets or sets the maximum scan.

        Value: The maximum number of points in any one scan in this region.
      • getBoundingRectangle

        public Rectangle getBoundingRectangle()

        Gets or sets the bounding rectangle.

        Value: A Rect object (section 2.2.2.18) that defines the bounding rectangle.
      • setBoundingRectangle

        public void setBoundingRectangle(Rectangle value)

        Gets or sets the bounding rectangle.

        Value: A Rect object (section 2.2.2.18) that defines the bounding rectangle.
      • getAScans

        public WmfScanObject[] getAScans()

        Gets or sets a scans.

        Value: An array of Scan objects (section 2.2.2.21) that define the scanlines in the region.
      • setAScans

        public void setAScans(WmfScanObject[] value)

        Gets or sets a scans.

        Value: An array of Scan objects (section 2.2.2.21) that define the scanlines in the region.