DrawingImmediate.FilledCircle
Draws a filled circle during the current paint callback.
Must run inside a GetPaint signal callback. This returns no retained object; redraw on every paint and disconnect the callback to stop drawing. FilledCircle places sides before opacity; Circle uses the opposite order.
DrawingImmediate.FilledCircle(position: Vector2, radius: number, color: Color3, sides: number, opacity: number): ()Parameters
| Parameter | Type | Description |
|---|---|---|
position | Vector2 | Center. |
radius | number | Radius in pixels. |
color | Color3 | Fill color. |
sides | number | Polygon sides, clamped to 3–360. |
opacity | number | 0 is invisible; 1 is opaque. Values are clamped. |
Errors: Calling outside a paint callback or supplying incompatible argument types raises an error.
