Provided by: kaya_0.4.4-6ubuntu3_amd64
Image::line - Draw a line.
Void line( Image img, Int x1, Int y1, Int x2, Int y2, Colour col )
img The image x1 X coordinate of first endpoint y1 Y coordinate of first endpoint x2 X coordinate of second endpoint y2 Y coordinate of second endpoint col Colour of the line
Draws a line on the image from ( x1 , y1 ) to ( x2 , y2 ).
Kaya standard library by Edwin Brady, Chris Morris and others (email@example.com). For further information see http://kayalang.org/
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.
Image.dashedLine (3kaya) Image.rectangle (3kaya)