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

NAME

6       Image::poly - Draw a polygon.
7

SYNOPSIS

9       Void  poly(  Image  img,  [Pair<Int,  Int>  ]  points, Colour col, Bool
10       filled=false )
11

ARGUMENTS

13       img The image
14
15       points A list of pairs (in X,Y order) giving the corners of  the  poly‐
16       gon.
17
18       col Colour of the polygon's border
19
20       filled If this is true, the polygon will be filled with the same colour
21       as the border.
22

DESCRIPTION

24       Draws a polygon with the specified corners.
25

AUTHORS

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

LICENSE

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