Draw a dashed line.
Void dashedLine( 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 dashed line on the image from ( x1 , y1 ) to ( x2 , y2 ).
Kaya standard library by Edwin Brady, Chris Morris and others ([email protected]). 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.line (3kaya)
Image.rectangle (3kaya)