API reference / Common / Engine types / PaintRelativeRect
Interface: PaintRelativeRect
A relative rectangle (CT_RelativeRect): each edge an inset expressed as a fraction of the bounding box (1.0 = 100%).
The same type is reused under several element names — a:srcRect (crop a source image), a:fillRect (place a stretched fill), a:tileRect / a:fillToRect (bound a gradient).
Properties
| Property | Description |
|---|---|
leftnumber | @l — left inset. |
topnumber | @t — top inset. |
rightnumber | @r — right inset. |
bottomnumber | @b — bottom inset. |