Skip to main content
PreparedShape
Defines a wrapper around a shape with some type and category that adds properties (to be used to define the shape's appearance) and, optionally, the shape's initial size.
NameTypeDescription
categorystringThe shape set the underlying shape is sourced from
labelstringLabel to show for the prepared shape in a palette
propertiesObjectDataProperties with which to configure the shape when it is created.
shapeIdstringThe ID for this prepared shape. Used internally, but ensure you provide a unique value.
size?SizeOptional initial size to use for the shape
typestringThe type of the underlying shape