Circle
Constructor
Circle <id> (double cx, double cy, double r)
Action
Draws a circle centered at the point{cx, cy}
with the radius r
.
Predefined children
- DoubleProperty:
r, cx, cy
.
Example
use core
use display
use gui
_main_
Component root {
Frame f ("myFrame", 0, 0, 400, 400)
Circle c1 (200, 200, 50)
}