Skip to content
Higor Eurípedes edited this page Mar 10, 2015 · 3 revisions

Functions

clear

lutro.graphics.clear()

draw

lutro.graphics.draw(image, [x, y, ox, oy])
lutro.graphics.draw(image, quad)

drawt

lutro.graphics.drawt(image, dx, dy, tw, th, tid)

getBackgroundColor

lutro.graphics.getBackgroundColor()

getColor

lutro.graphics.getColor()

getFont

lutro.graphics.getFont()

getHeight

lutro.graphics.getHeight()

getWidth

lutro.graphics.getWidth()

line

lutro.graphics.line(x1, y1, x2, y2)

newImage

lutro.graphics.newImage(path)

newImageFont

lutro.graphics.newImageFont(path, characters)

newQuad

lutro.graphics.newQuad(x, y, w, h, sw, sh)

point

lutro.graphics.point(x, y)

pop ~~~ lutro.graphics.pop()

print

lutro.graphics.print(text, x, y)

push

lutro.graphics.push()

rectangle

lutro.graphics.rectangle(type, x, y, w, h)

scale

lutro.graphics.scale()

setBackgroundColor

lutro.graphics.setBackgroundColor(color)
lutro.graphics.setBackgroundColor(r, g, b [, a])

setColor

lutro.graphics.setColor(color)
lutro.graphics.setColor(r, g, b [, a])

setDefaultFilter

lutro.graphics.setDefaultFilter()

setFont

lutro.graphics.setFont(font)

setLineStyle

lutro.graphics.setLineStyle(style)

setLineWidth

lutro.graphics.setLineWidth(width)