PolyCircle2D

Inherits: PolyNode2D < Node2D < CanvasItem < Node < Object

A circle PolyNode2D shape.

Description

Builds a polygon outline closely approximating a circle.

Properties

float max_error 0.25
float radius 32.0

Property Descriptions

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.


Default 32.0
Setter set_radius(value)
Getter get_radius()

The radius of a circle used to generate the polygon.