public class WmfRegion extends MetaObject
The Region Object defines a potentially non-rectilinear shape defined by an array of scanlines.
Constructor and Description |
---|
WmfRegion() |
Modifier and Type | Method and Description |
---|---|
WmfScanObject[] |
getAScans()
Gets or sets a scans.
|
Rectangle |
getBoundingRectangle()
Gets or sets the bounding rectangle.
|
short |
getMaxScan()
Gets or sets the maximum scan.
|
short |
getNextInChain()
Gets or sets the next in chain.
|
int |
getObjectCount()
Gets or sets the object count.
|
short |
getObjectType()
Gets or sets the type of the object.
|
short |
getRegionSize()
Gets or sets the size of the region.
|
short |
getScanCount()
Gets or sets the scan count.
|
void |
setAScans(WmfScanObject[] value)
Gets or sets a scans.
|
void |
setBoundingRectangle(Rectangle value)
Gets or sets the bounding rectangle.
|
void |
setMaxScan(short value)
Gets or sets the maximum scan.
|
void |
setNextInChain(short value)
Gets or sets the next in chain.
|
void |
setObjectCount(int value)
Gets or sets the object count.
|
void |
setObjectType(short value)
Gets or sets the type of the object.
|
void |
setRegionSize(short value)
Gets or sets the size of the region.
|
void |
setScanCount(short value)
Gets or sets the scan count.
|
public short getNextInChain()
Gets or sets the next in chain.
Value: A value that MUST be ignored.public void setNextInChain(short value)
Gets or sets the next in chain.
Value: A value that MUST be ignored.public short getObjectType()
Gets or sets the type of the object.
Value: The region identifier. It MUST be 0x0006.public void setObjectType(short value)
Gets or sets the type of the object.
Value: The region identifier. It MUST be 0x0006.public int getObjectCount()
Gets or sets the object count.
Value: A value that MUST be ignored.public void setObjectCount(int value)
Gets or sets the object count.
Value: A value that MUST be ignored.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.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.public short getScanCount()
Gets or sets the scan count.
Value: The number of scanlines composing the region.public void setScanCount(short value)
Gets or sets the scan count.
Value: The number of scanlines composing the region.public short getMaxScan()
Gets or sets the maximum scan.
Value: The maximum number of points in any one scan in this region.public void setMaxScan(short value)
Gets or sets the maximum scan.
Value: The maximum number of points in any one scan in this region.public Rectangle getBoundingRectangle()
Gets or sets the bounding rectangle.
Value: A Rect object (section 2.2.2.18) that defines the bounding rectangle.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.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.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.