the type of the Primitive
the position of the Primitive (x, y)
the size of the Primitive (width, height)
the scale of the Primitive. Default is 1
if the Primitive should be filled. Default is true
the color of the primitive. Default is #d16cd8
Optionalthickness: numberthe thickness of the stroke when used when fill is set to false
Readonlycolorthe color of the primitive. Default is #d16cd8
Readonlyfillif the Primitive should be filled. Default is true
Readonlypositionthe position of the Primitive (x, y)
Readonlyprimitivethe type of the Primitive
ReadonlyrenderReadonlyscalethe scale of the Primitive. Default is 1
Readonlysizethe size of the Primitive (width, height)
Optional Readonlythicknessthe thickness of the stroke when used when fill is set to false
Draws a primitive (Rectangle)