PolyCircle2D¶
Inherits: PolyNode2D < Node2D < CanvasItem < Node < Object
A circle PolyNode2D shape.
Description¶
Builds a polygon outline closely approximating a circle.
Property Descriptions¶
- float max_error
Default | 0.25 |
Setter | set_max_error(value) |
Getter | get_max_error() |
Represents the maximum gap in pixels allowed between a circle segment and the boundary of the mathematical circle, with low values increasing the accuracy.
- float radius
Default | 32.0 |
Setter | set_radius(value) |
Getter | get_radius() |
The radius of a circle used to generate the polygon.