Changes
Jump to navigation
Jump to search
← Older edit
Newer edit →
Overview of the API
14 bytes added
,
20:39, 7 May 2014
m
→Graphics Operations
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)
Adriweb
Bureaucrats
,
Administrators
935
edits
Navigation menu
Personal tools
Log in
Namespaces
Page
Discussion
Variants
Views
Read
View source
View history
More
Search
Navigation
Main page
Recent changes
Random page
Help about MediaWiki
Tools
Special pages
Printable version