Changes

Jump to navigation Jump to search

Overview of the API

14 bytes added, 21:39, 7 May 2014
m
Line 130: Line 130:  
*'''[[gc:getStringHeight]]'''(string) - Returns the string's height.
 
*'''[[gc:getStringHeight]]'''(string) - Returns the string's height.
 
*'''[[gc:getStringWidth]]'''(string) - Returns the string's width
 
*'''[[gc:getStringWidth]]'''(string) - Returns the string's width
*'''[[gc:setAlpha]]'''(alpha) - where alpha is an integer between 0 and 255. Sets the transparency. ''Not available anymore''
+
*'''[[gc:setAlpha]]'''(alpha) - where alpha is an integer between 0 and 255. Sets the transparency. '''''Not available anymore in 3.2+'''''
 
*'''[[gc:setColorRGB]]'''(red, green, blue) RGB values are integers, from 0 to 255.
 
*'''[[gc:setColorRGB]]'''(red, green, blue) RGB values are integers, from 0 to 255.
 
*'''[[gc:setFont]]'''(font, type, size), with font : {“sansserif”, "serif", ..}, type {“b”, “r”, “i”}, size(int)
 
*'''[[gc:setFont]]'''(font, type, size), with font : {“sansserif”, "serif", ..}, type {“b”, “r”, “i”}, size(int)

Navigation menu