1Image.line(3kaya)            Kaya module reference           Image.line(3kaya)
2
3
4

NAME

6       Image::line - Draw a line.
7

SYNOPSIS

9       Void line( Image img, Int x1, Int y1, Int x2, Int y2, Colour col )
10

ARGUMENTS

12       img The image
13
14       x1 X coordinate of first endpoint
15
16       y1 Y coordinate of first endpoint
17
18       x2 X coordinate of second endpoint
19
20       y2 Y coordinate of second endpoint
21
22       col Colour of the line
23

DESCRIPTION

25       Draws a line on the image from ( x1 , y1 ) to ( x2 , y2 ).
26

AUTHORS

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

LICENSE

32       The Kaya standard library is free software;  you  can  redistribute  it
33       and/or  modify  it  under  the  terms  of the GNU Lesser General Public
34       License (version 2.1 or any later version) as  published  by  the  Free
35       Software Foundation.
36
38       Image.dashedLine (3kaya)
39       Image.rectangle (3kaya)
40
41
42
43Kaya                             December 2010               Image.line(3kaya)
Impressum