Difference between revisions of "Lua API:Graphics"
(Start a basic Graphics Page.) |
m (Handle Constants better) |
||
Line 13: | Line 13: | ||
=== graphics.drawCircle === | === graphics.drawCircle === | ||
graphics.drawCircle() | graphics.drawCircle() | ||
− | |||
− | |||
− | |||
− | |||
Line 25: | Line 21: | ||
=== graphics.fillRect === | === graphics.fillRect === | ||
graphics.fillRect() | graphics.fillRect() | ||
− | |||
− | |||
− | |||
− | |||
Line 37: | Line 29: | ||
=== graphics.drawText === | === graphics.drawText === | ||
graphics.drawText() | graphics.drawText() | ||
+ | |||
+ | |||
+ | == Constants == | ||
+ | Any of these constants can be accessed with graphics.<constant name here> | ||
+ | |||
+ | === Uncatergorized === | ||
+ | ; WIDTH | ||
+ | ; HEIGHT |
Revision as of 00:08, 7 September 2013
Description goes here.
Contents
Methods
graphics.drawLine
graphics.drawLine()
graphics.drawRect
graphics.drawRect()
graphics.drawCircle
graphics.drawCircle()
graphics.fillCircle
graphics.fillCircle()
graphics.fillRect
graphics.fillRect()
graphics.textSize
graphics.textSize()
graphics.drawText
graphics.drawText()
Constants
Any of these constants can be accessed with graphics.<constant name here>
Uncatergorized
- WIDTH
- HEIGHT