Scroll to navigation

Image.ellipse(3kaya) Kaya module reference Image.ellipse(3kaya)

NAME

Image::ellipse - Draw an ellipse.

SYNOPSIS

Void ellipse( Image img, Int cx, Int cy, Int w, Int h, Colour col, Bool filled=false )

ARGUMENTS

img The image
cx The X coordinate of the centre of the ellipse
cy The Y coordinate of the centre of the ellipse
w The width of the ellipse
h The height of the ellipse
col Colour of the ellipse
filled Whether the ellipse is filled (defaults to false)

DESCRIPTION

Draw an ellipse at the specified position.

AUTHORS

Kaya standard library by Edwin Brady, Chris Morris and others (kaya@kayalang.org). For further information see http://kayalang.org/

LICENSE

The Kaya standard library is free software; you can redistribute it and/or modify it under the terms of the GNU Lesser General Public License (version 2.1 or any later version) as published by the Free Software Foundation.

RELATED

Image.arc (3kaya)
Image.poly (3kaya)
Image.rectangle (3kaya)
October 2012 Kaya