Geometry
The family of elements that supply a shape’s contour.
Each shape has exactly one geometry child, such as a rectangle or path. That contour is evaluated in the shape’s local coordinates.
Example
Widen a rectangle in its own coordinates
Key width inside the <rect> that defines the shape’s contour. Between frames 4 and 8, the local width grows from 12 to 20 and the local height stays 8. The complete scene holds the containing shape at a quarter turn, so the painted area grows vertically from 8 × 12 to 8 × 20.
<rect width="12" height="8">
<animate attributeName="width" fill="freeze">
<key frame="4" value="12" ease="linear"/>
<key frame="8" value="20"/>
</animate>
</rect>Usage context
Type Geometry in the scene format type model.
Related pages in this reference are <rect>, <circle>, <ellipse>, <line>, <polyline>, <polygon>, <path>, <boolean>, <text>.