1# Ellipse objects
2
3The shape of an ellipse is determined by its height and width.
4
5~~~~ pikchr indent
6A: ellipse thick
7line thin color gray left 70% from 2mm left of (A.w,A.n)
8line same from 2mm left of (A.w,A.s)
9text "height" at (7/8<previous.start,previous.end>,1/2<1st line,2ndline>)
10line thin color gray from previous text.n up until even with 1st line ->
11line thin color gray from previous text.s down until even with 2nd line ->
12X1: line thin color gray down 50% from 2mm below (A.w,A.s)
13X2: line thin color gray down 50% from 2mm below (A.e,A.s)
14text "width" at (1/2<X1,X2>,6/8<X1.start,X1.end>)
15line thin color gray from previous text.w left until even with X1 ->
16line thin color gray from previous text.e right until even with X2 ->
17~~~~
18
19Curiously, the "radius" has no effect on the shape of an ellipse.
20The ellipse is determine solely by the width and height.  If the
21width and height are equal, the ellipse degenerates into a circle.
22
23
24## Boundary points:
25
26~~~~ pikchr indent
27A: ellipse thin
28dot ".c" below at A
29dot ".n" above at A.n
30dot " .ne" ljust above at A.ne
31dot " .e" ljust at A.e
32dot " .se" ljust below at A.se
33dot ".s" below at A.s
34dot ".sw " rjust below at A.sw
35dot ".w " rjust at A.w
36dot ".nw " rjust above at A.nw
37~~~~
38