Creation/Dev/Script/Client/TDrawingPanel: Difference between revisions

From Graal Bible
mNo edit summary
 
No edit summary
 
(4 intermediate revisions by 4 users not shown)
Line 1: Line 1:
<pre>
[[Category:Scripting Reference]]
  TDrawingPanel (TGraalVar):
Inherits [[Creation/Dev/Script/Client/TGraalVar|TGraalVar]].
    height - integer (read only)
 
    parth - integer (read only)
=Variables=
    partw - integer (read only)
{| border="1" cellpadding="2" width="100%"
    partx - integer (read only)
| '''Name'''
    party - integer (read only)
| '''Type'''
    width - integer (read only)
| '''Description'''
    clearall()
|-
    clearrectangle(int, int, int, int) - x, y, width and height
| height
    drawimage(int, int, str) - x, y, source image
| integer (read only)
    drawimagerectangle(int, int, str, int, int, int, int) - destination x and y, source image, source x,y,width and height
|
    drawimagestretched(int, int, int, int, str, int, int, int, int) - destination x,y,width and height, source image, source x,y,width and height
|-
</pre>
| 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 11: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)