L.4.9.3.1 Defining a Preset Shape
L.4.9.3.1 Defining a Preset Shape
It is quite easy to specify a preset shape as that is the whole notion around presets. They are meant to solve the most common cases of shape definition.
To specify a heart shape for instance the following DrawingML code can be used.
<p:sp>
<p:spPr>
<a:xfrm>
<a:off x="1981200" y="533400"/>
<a:ext cx="1143000" cy="1066800"/>
</a:xfrm>
<a:prstGeom prst="heart">
</a:prstGeom>
</p:spPr>
</p:sp>
This heart is rendered by the generating application using the custom shape code for this shape, which is fully documented within ST_ShapeTypes located in the reference documentation. Thus, we see that the user need on specify the preset name to place a shape within their document.
Last updated on