Creation/Dev/Script/Client/TDrawingPanel: Difference between revisions
From Graal Bible
mNo edit summary |
mNo edit summary |
||
Line 1: | Line 1: | ||
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) | |||
| | |||
| | |||
|} |
Revision as of 14:36, 27 January 2006
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) |