Creation/Dev/Script/Client/TDrawingPanel: Difference between revisions
From Graal Bible
mNo edit summary |
Pooper200000 (talk | contribs) No edit summary |
||
(4 intermediate revisions by 4 users not shown) | |||
Line 1: | Line 1: | ||
[[Category:Scripting Reference]] | |||
Inherits [[Creation/Dev/Script/Client/TGraalVar|TGraalVar]]. | |||
=Variables= | |||
{| border="1" cellpadding="2" width="100%" | |||
| '''Name''' | |||
| '''Type''' | |||
| '''Description''' | |||
|- | |||
| height | |||
| integer (read only) | |||
| | |||
|- | |||
| parth | |||
| integer (read only) | |||
| | |||
|- | |||
| partw | |||
| integer (read only) | |||
| | |||
|- | |||
| partx | |||
| integer (read only) | |||
| | |||
|- | |||
| party | |||
| integer (read only) | |||
| | |||
|- | |||
| width | |||
| integer (read only) | |||
| | |||
|} | |||
=Functions= | |||
{| border="1" cellpadding="2" width="100%" | |||
| '''Name''' | |||
| '''Return Type''' | |||
| '''Description''' | |||
|- | |||
| clearall() | |||
| | |||
| | |||
|- | |||
| clearrectangle(int x, int y, int width, int height) | |||
| | |||
| | |||
|- | |||
| drawimage(int x, int y, str imagefilename) | |||
| | |||
| | |||
|- | |||
| drawimagerectangle(int x, int y, str imagefilename, int sourcex, int sourcey, int sourcewidth, int sourceheight) | |||
| | |||
| | |||
|- | |||
| drawimagestretched(int x, int y, int width, int height, str imagefilename, int sourcex, int sourcey, int sourcewidth, int sourceheight) | |||
| | |||
| | |||
|} |
Latest revision as of 10:21, 16 February 2010
Inherits TGraalVar.
Variables
Name | Type | Description |
height | integer (read only) | |
parth | integer (read only) | |
partw | integer (read only) | |
partx | integer (read only) | |
party | integer (read only) | |
width | integer (read only) |
Functions
Name | Return Type | Description |
clearall() | ||
clearrectangle(int x, int y, int width, int height) | ||
drawimage(int x, int y, str imagefilename) | ||
drawimagerectangle(int x, int y, str imagefilename, int sourcex, int sourcey, int sourcewidth, int sourceheight) | ||
drawimagestretched(int x, int y, int width, int height, str imagefilename, int sourcex, int sourcey, int sourcewidth, int sourceheight) |