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

NAME

6       Image::rectangle - Draw a rectangle.
7

SYNOPSIS

9       Void  rectangle( Image img, Int x1, Int y1, Int x2, Int y2, Colour col,
10       Bool filled=false )
11

ARGUMENTS

13       img The image
14
15       x1 X coordinate of first corner
16
17       y1 Y coordinate of first corner
18
19       x2 X coordinate of opposite corner
20
21       y2 Y coordinate of opposite corner
22
23       col Colour of the rectangle's border
24
25       filled If this is true, the rectangle will  be  filled  with  the  same
26       colour as the border.
27

DESCRIPTION

29       Draws a rectangle with opposite corners at ( x1 , y1 ) and ( x2 , y2 ).
30

AUTHORS

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

LICENSE

36       The Kaya standard library is free software;  you  can  redistribute  it
37       and/or  modify  it  under  the  terms  of the GNU Lesser General Public
38       License (version 2.1 or any later version) as  published  by  the  Free
39       Software Foundation.
40
42       Image.dashedLine (3kaya)
43       Image.ellipse (3kaya)
44       Image.line (3kaya)
45       Image.poly (3kaya)
46
47
48
49Kaya                             December 2010          Image.rectangle(3kaya)
Impressum