Package curve.fig

Class Oval

java.lang.Object
curve.fig.F
curve.fig.Oval
All Implemented Interfaces:
Colour, Out

public class Oval extends F

To angle an eclipse. Could this be applied to any figure?

https://stackoverflow.com/questions/3025519/how-do-i-draw-an-ellipse-with-arbitrary-orientation-pixel-by-pixel

x = X cos(a) - Y sin(a)

y = Y cos(a) + X sin(a)

Where a is the angle of anticlockwise rotation,
(x, y) are the new coordinates,
and (X, Y) are the old.

Author:
eddie