Navigation
Synopsis An ellipse.
Function
  1. FProperty ellipse(FProperty props...)
  2. FProperty ellipse(Figure inner, FProperty props)
Description Draw an ellipse using the sizes given in properties props. An optional nested figure fig may be placed inside the ellipse.
Examples The fragment
e1 = ellipse(width(100), height(50), fillColor("red"));
render(e1);
will display: ellipse 1

Nesting, for instance, a box in an ellipse
b1 = box(width(100), height(20), fillColor("yellow"));
e1 = ellipse(b1, std(gap(20)), fillColor("red"));
render(e1);
gives:

ellipse 2
Is this page unclear, or have you spotted an error? Please add a comment below and help us to improve it. For all other questions and remarks, visit ask.rascal-mpl.org.