Difference between revisions of "Image"
From Lianjapedia
Yvonne.milne (Talk | contribs) |
Yvonne.milne (Talk | contribs) |
||
Line 20: | Line 20: | ||
|valign="top"|Boolean | |valign="top"|Boolean | ||
|valign="top"|Whether height of image should be based on width | |valign="top"|Whether height of image should be based on width | ||
+ | |- | ||
+ | |valign="top"|MouseX | ||
+ | |valign="top"|RW | ||
+ | |valign="top"|Numeric | ||
+ | |valign="top"|Mouse X position | ||
+ | |- | ||
+ | |valign="top"|MouseY | ||
+ | |valign="top"|RW | ||
+ | |valign="top"|Numeric | ||
+ | |valign="top"|Mouse Y position | ||
|- | |- | ||
|Picture | |Picture | ||
Line 29: | Line 39: | ||
|valign="top"|RW | |valign="top"|RW | ||
|valign="top"|Boolean | |valign="top"|Boolean | ||
− | |Whether image will scale its contents to fill all available space. 0 = do not scale/stretch, <>0 = scale/stretch. | + | |Whether image will scale its contents to fill all available space.<br>0 = do not scale/stretch, <>0 = scale/stretch. |
|- | |- | ||
|} | |} |
Revision as of 10:15, 20 September 2016
Note: property, method and event names should be referred to in lowercase in case-sensitive scripting languages.
Properties
This class supports the Common Properties plus the following:
Property | Access (R/RW) | Value | Description |
---|---|---|---|
Closable | RW | Boolean | Whether image should be closable |
HeightForWidth | RW | Boolean | Whether height of image should be based on width |
MouseX | RW | Numeric | Mouse X position |
MouseY | RW | Numeric | Mouse Y position |
Picture | RW | Character | Filename of image displayed |
Stretch | RW | Boolean | Whether image will scale its contents to fill all available space. 0 = do not scale/stretch, <>0 = scale/stretch. |
Methods
This class supports the Common Methods plus the following:
Method | Args | Description |
---|---|---|
Zoom | width as Numeric, height as Numeric, closable as Boolean | Zoom the image to the specified size and with specified Closable setting |
Events
This class supports the Common Events plus the following:
Event | Args | Description |
---|