Igis-Ellipses

From Coder Merlin
Jump to navigation Jump to search

Ellipse[edit]

let ellipse = Ellipse(center:Point(x:155, y:200), radiusX:120, radiusY:55)                                                                                                                                                                                                                                                                          
canvas.render(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.render(rotatedEllipse)

Igis-Ellipse-rotated.png

Partial Ellipse[edit]

let partialEllipse = Ellipse(center:Point(x:155, y:200), radiusX:120, radiusY:55, rotation:0.0, startAngle:0.0, endAngle:(3.0/2.0)*Double.pi)
canvas.render(partialEllipse)

Igis-Ellipse-partial.png


CoderMerlin™ proudly recommends:
HintIcon.png

Your purchase via these links helps keep  Coder Merlin™ 's orbuculum ablaze. As an Amazon Associate we earn from qualifying purchases. Thank you for your support!


Designed with pride in Silicon Valley, CA, USA