Difference between revisions of "Image"
From Lianjapedia
Yvonne.milne (Talk | contribs) |
Yvonne.milne (Talk | contribs) |
||
Line 26: | Line 26: | ||
|Filename of image displayed | |Filename of image displayed | ||
|- | |- | ||
− | |Stretch | + | |valign="top"|Stretch |
− | |RW | + | |valign="top"|RW |
− | |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. 0 = do not scale/stretch, <>0 = scale/stretch. | ||
|- | |- |
Revision as of 05:08, 6 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 |
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 |
---|