Skip to main content
CESDK/CE.SDK/Engine/API Reference/Block

Shape Types

Get to know all available shape types and their properties

The following tables document the currently available shapes and their properties.

Shapes#

shape/ellipse#

No block-specific properties.

shape/line#

No block-specific properties.

shape/polygon#

MemberTypeDefaultDescription
Member
sides
Type
int
Default
5
Description
The number of sides the polygon is supposed to have.

shape/rect#

No block-specific properties.

shape/star#

MemberTypeDefaultDescription
Member
innerDiameter
Type
float
Default
0.5
Description
The inner diameter of the star.
Member
points
Type
int
Default
5
Description
The number of tips the star is supposed to have.

shape/vector_path#

MemberTypeDefaultDescription
Member
height
Type
float
Default
100.0
Description
The coordinate bounds in y direction.
Member
path
Type
string
Default
""
Description
The path string, accepts a subset of svg path strings.
Member
width
Type
float
Default
100.0
Description
The coordinate bounds in x direction.