2.2.1.5 Region Object
The Region Object defines a potentially non-rectilinear shape defined by an array of scanlines.
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
nextInChain |
ObjectType |
||||||||||||||||||||||||||||||
ObjectCount |
|||||||||||||||||||||||||||||||
RegionSize |
ScanCount |
||||||||||||||||||||||||||||||
maxScan |
BoundingRectangle |
||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
... |
aScans (variable) |
||||||||||||||||||||||||||||||
... |
nextInChain (2 bytes): A value that MUST be ignored.<41>
ObjectType (2 bytes): A 16-bit signed integer that specifies the region identifier. It MUST be 0x0006.
ObjectCount (4 bytes): A value that MUST be ignored.<42>
RegionSize (2 bytes): A 16-bit signed integer that defines the size of the region in bytes plus the size of aScans in bytes.
ScanCount (2 bytes): A 16-bit signed integer that defines the number of scanlines composing the region.
maxScan (2 bytes): A 16-bit signed integer that defines the maximum number of points in any one scan in this region.
BoundingRectangle (8 bytes): A Rect Object (section 2.2.2.18) that defines the bounding rectangle.
aScans (variable): An array of Scan Objects (section 2.2.2.21) that define the scanlines in the region.