Creates a new Shape component.
Configuration for the shape
OptionalactorThe actor that has this component. It is undefined until the component is
added to an actor.
Blending mode of the shape
Whether the shape is disabled
OptionalfillFill color of the shape
Geometry of the shape
Opacity of the shape
Whether the shape stroke should remain 1 pixel wide regardless of the scale
Sorting layer of the shape
Center point of the shape
Alignment of the stroke relative to the path
0 - Outside of the shape 0.5 - Center of the path 1 - Inside of the shape
OptionalstrokeColor of the stroke
Width of the stroke
Draws a rectangle, a rectangle with round corners, a circle, an ellipse or a line.
See
Shape