Draw

Undocumented in source.

Members

Static functions

line
void line(float x1, float y1, float x2, float y2)
Undocumented in source. Be warned that the author may not have intended to support it.
line
void line(int[2] start, int[2] end)
Undocumented in source. Be warned that the author may not have intended to support it.
rect
void rect(float x, float y, float w, float h)
Undocumented in source. Be warned that the author may not have intended to support it.
rect
void rect(int[2] pos, int[2] size)
Undocumented in source. Be warned that the author may not have intended to support it.
rectOutline
void rectOutline(int x, int y, int w, int h)
Undocumented in source. Be warned that the author may not have intended to support it.
rectOutline
void rectOutline(int[2] pos, int[2] size)
Undocumented in source. Be warned that the author may not have intended to support it.
setColor
void setColor(float r, float g, float b, float a)
Undocumented in source. Be warned that the author may not have intended to support it.
setColor
void setColor(float[4] f)
Undocumented in source. Be warned that the author may not have intended to support it.
setFont
void setFont(string f, int size)
Undocumented in source. Be warned that the author may not have intended to support it.
setFont
void setFont(Font f)
Undocumented in source. Be warned that the author may not have intended to support it.
setScreenResolution
void setScreenResolution(long x, long y)
Undocumented in source. Be warned that the author may not have intended to support it.
text
void text(Point pos, string text)
Undocumented in source. Be warned that the author may not have intended to support it.
texturedRect
void texturedRect(Point pos, Point size)
Undocumented in source. Be warned that the author may not have intended to support it.

Static variables

color
float[4] color;
Undocumented in source.
screen
float[3] screen;
Undocumented in source.
texture
Texture texture;
Undocumented in source.

Meta