Add Circle
Adds a polygon to the non-committed engine.
Syntax
addCircle(radius, sides, xOffset, yOffset, lineType, flipped)
Parameters
radius
The size of the polygon to add.
sides
The number of sides the polygon has.
xOffset
, yOffset
The offset of the polygon from the origin.
lineType
The LineType
of the lines in the circle.
flipped
A boolean indicating whether the lines within the polygon are flipped.
Examples
Adds a green circle above the origin of the track.
addCircle(30, 100, 0, -50, 2, false)