API reference / Common / Engine types / Shape
Interface: Shape
A shape (a:sp, CT_Shape): the common autoshape/text-box element — non-visual identity, visual properties, an optional theme style reference, and an optional text body.
Properties
| Property | Description |
|---|---|
idstring | The shape's stable [ShapeNodeId], which the tree and every edit address it by. |
nonVisualShapeNonVisualProperties | a:nvSpPr/a:cNvPr — the shape's identity. |
propertiesShapeProperties | a:spPr — geometry, fill, line, effects. |
styleShapeStyle | null | a:style — references into the theme's style matrix. |
textBodyTextBody | null | a:txBody — the shape's rich-text body, if it holds text. |
textTransformShapeTransform | null | "A 2-D transform to be applied to the text body of the shape" (MS-ODRAWXML §2.10.3.5) — dsp:sp/dsp:txXfrm, a diagram drawing's shape's alone. |
diagramPointstring | null | The diagram point the shape draws — dsp:sp/@modelId, resolved; a diagram drawing's shape's alone. |