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
cornerRadius
Type
float
Default
0.
Description
The radius for rounding the corners of the shape.
Member
sides
Type
int
Default
5
Description
The number of sides the polygon is supposed to have.

shape/rect#

MemberTypeDefaultDescription
Member
cornerRadiusBL
Type
float
Default
0.
Description
The bottom-left radius for rounding the corners of the shape.
Member
cornerRadiusBR
Type
float
Default
0.
Description
The bottom-right radius for rounding the corners of the shape.
Member
cornerRadiusTL
Type
float
Default
0.
Description
The top-left radius for rounding the corners of the shape.
Member
cornerRadiusTR
Type
float
Default
0.
Description
The top-right radius for rounding the corners of the shape.

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.