Igis-Ellipses

From Coder Merlin
Within these castle walls be forged Mavens of Computer Science ...
— Merlin, The Coder

Ellipse[edit]

        let ellipse = Ellipse(center:Point(x:155, y:200), radiusX:120, radiusY:55)                                                                                                                                                                                                                                                                          
        canvas.paint(ellipse)

Igis-Ellipse-whole.png

Rotated Ellipse[edit]

        let rotatedEllipse = Ellipse(center:Point(x:155, y:200), radiusX:120, radiusY:55, rotation:(1.0/4.0)*Double.pi)
        canvas.paint(rotatedEllipse)

Igis-Ellipse-rotated.png