1Image.drawString(3kaya) Kaya module reference Image.drawString(3kaya)
2
3
4
6 Image::drawString - Draw a text string.
7
9 Void drawString( Image img, Font font, Int x, Int y, String str, Colour
10 col, Bool up=false )
11
13 img The image
14
15 font The font to use (e.g. Image.small (3kaya) )
16
17 x The left-right position of the start of the text
18
19 y The top-bottom position of the start of the text
20
21 str The text to add
22
23 col The colour of the text
24
25 up Normally text is drawn left to right. If this parameter is true, it
26 will be drawn bottom to top instead.
27
29 Writes a text string at the given location.
30
32 Kaya standard library by Edwin Brady, Chris Morris and others
33 (kaya@kayalang.org). For further information see http://kayalang.org/
34
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
41
42
43Kaya December 2010 Image.drawString(3kaya)