Ellipse

Constructor

Ellipse <id> (double cx, double cy, double rx, double ry)

Action

Draws an ellipse centered at the point {cx, cy}with the horizontal radius rx and the vertical radius cy.

Predefined children

  • DoubleProperty: cx, cy, rx, ry.

Example


use core
use gui

_main_
Component root {
  Frame f ("myFrame", 0, 0, 400, 400)
  Ellipse el (200, 200, 100, 50)
}

run root
run syshook