1Image.arc(3kaya) Kaya module reference Image.arc(3kaya)
2
3
4
6 Image::arc - Draw an arc of an ellipse.
7
9 Void arc( Image img, Int cx, Int cy, Int w, Int h, Int start, Int end,
10 Colour col, Bool filled=false, [ArcStyle] style=[Arc] )
11
13 img The image
14
15 cx The X coordinate of the centre of the ellipse
16
17 cy The Y coordinate of the centre of the ellipse
18
19 w The width of the ellipse
20
21 h The height of the ellipse
22
23 start The starting angle (in degrees measured clockwise from right‐
24 wards)
25
26 end The ending angle (in degrees measured clockwise from rightwards)
27
28 col Colour of the arc
29
30 filled Whether the arc is filled (defaults to false)
31
32 style If the arc is filled, a list of Image.ArcStyle (3kaya) s to
33 apply.
34
36 Draw an arc of an ellipse, optionally filled, with the specified param‐
37 eters.
38
40 Kaya standard library by Edwin Brady, Chris Morris and others
41 (kaya@kayalang.org). For further information see http://kayalang.org/
42
44 The Kaya standard library is free software; you can redistribute it
45 and/or modify it under the terms of the GNU Lesser General Public
46 License (version 2.1 or any later version) as published by the Free
47 Software Foundation.
48
50 Image.ellipse (3kaya)
51
52
53
54Kaya December 2010 Image.arc(3kaya)