Image

From Lianjapedia
Revision as of 10:35, 20 September 2016 by Yvonne.milne (Talk | contribs)

Jump to: navigation, search

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. (From Lianja v3.1).
MouseY RW Numeric Mouse Y position. (From Lianja v3.1).
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
Draw name as Character | operation as Character
[, operation as Character [, arguments as Character]]
Draw operations include the following: brush, clear, eclipse, fill, font, image, lineto, moveto, pen, point, rectangle, redraw, restore, save. (From Lianja v3.1).
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