GraphicShape
type GraphicShape = { id: string; name: string; shape?: Shape; text?: TextBody; type: "shape"; xfrm?: Xfrm;};Properties
Section titled “Properties”| Property | Type | Description |
|---|---|---|
id |
string |
Unique identifier for this shape. |
name |
string |
Display name of the shape. |
shape? |
Shape |
Visual styling properties (fill, line, effects, geometry preset, etc.). |
text? |
TextBody |
Optional text content displayed within the shape. |
type |
"shape" |
Type discriminator for basic shapes. |
xfrm? |
Xfrm |
2D transformation (position, rotation, scale). |