2.2.45 Rectangle
The Rectangle record specifies the properties that are applicable to a rectangle within a Report record.
-
Rectangle = rectangleToken rectangleProperties *ReportItem Measurements ReportElementEnd
|
|
|
|
|
|
|
|
|
|
1 |
|
|
|
|
|
|
|
|
|
2 |
|
|
|
|
|
|
|
|
|
3 |
|
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
rectangleToken |
rectangleProperties (variable) |
||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
reportItems (variable) |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
measurements (variable) |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
reportElementEnd |
|||||||||||||||||||||||||||||||
... |
|||||||||||||||||||||||||||||||
... |
rectangleToken (1 byte): A byte that specifies the start of the Rectangle record. The value of the rectangleToken field MUST be 0x0A.
rectangleProperties (variable): A record of type ElementProperties that specifies the properties that are applicable to the Rectangle record. Each structure contained in this field MUST be one of the following.
-
Property
reportItems (variable): An array of ReportItem records. The number of elements in the array MUST be equal to the value of the count field of the Measurements record specified in the measurements field.
measurements (variable): A Measurements record that specifies the size, location, and state properties for every element of the reportItems field array. The order of elements in the array MUST match the order of the ReportItem records in the reportItems field array.
reportElementEnd (10 bytes): A ReportElementEnd record that marks the end of the Rectangle record. The offset field of the ReportElementEnd record MUST specify the position of the measurements field of the Rectangle record in the RPL stream.