<zone>
defines any two-dimensional or three-dimensional area within a surface element.
Attributes
Global and inherited attributes:
- @rotateindicates the amount by which this zone has been rotated clockwise, with respect to the normal orientation of the parent surface element as implied by the dimensions given in the msDesc element or by the coordinates of the surface itself. The orientation is expressed in arc degrees.
- Status
- Datatype
- teidata.numeric
Classes and content
Note
The position of every zone for a given surface is always defined by reference to the coordinate system defined for that surface.
A graphic element contained by a zone represents the whole of the zone.
A zone may be of any shape. The attribute @points may be used to define a polygonal zone, using the coordinate system defined by its parent surface.
A zone is always a closed polygon. Repeating the initial coordinate at the end of the sequence is optional. To encode an unclosed path, use the path element.
Example
<surface ulx="14.54" uly="16.14" lrx="0" lry="0">
<graphic url="stone.jpg"/>
<zone points="4.6,6.3 5.25,5.85 6.2,6.6 8.19222,7.4125 9.89222,6.5875 10.9422,6.1375 11.4422,6.7125 8.21722,8.3125 6.2,7.65"/>
</surface>
This example defines a non-rectangular zone: see the illustration in section Advanced Uses of .
Content model
<content>
<alternate minOccurs="0" maxOccurs="unbounded">
<textNode/>
<classRef key="model.gLike"/>
<classRef key="model.graphicLike"/>
<classRef key="model.global"/>
<elementRef key="surface"/>
<classRef key="model.linePart"/>
</alternate>
</content>