Shape subtype representing a Circle
Constructor
new(radius:Float, ?localCOM:Vec2, ?material:Material, ?filter:InteractionFilter)
Construct a new Circle
Parameters:
radius | The radius of the circle, this value must be positive. |
---|---|
localCOM | The local offset for the circle. (default (0,0)) |
material | The material for this circle. (default new Material()) |
filter | The interaction filter for this circle. (default new InteractionFilter()) |
Returns:
The constructed Circle
Throws:
# | If radius is not strictly positive |
---|---|
# | If localCOM is non-null, but has been disposed of. |