Displays an image in WsWindow.
This can be any image file supported by the web browser. It can be stored locally or on the network.
Internally, local files are symlinked to current WsWindow's working directory, so they can be placed anywhere in the filesystem.
Create new instance and add it to the window immediately.
Create new instance without adding it to the window. Use this when using WsLayout.
wsWindow |
An instance of |
bounds |
A NOTE:
0 provided for width or height will preserve image's aspect ratio.NOTE: Currently a relative measurement is used: 1 for full window width, 1 for full window height, e.g. Rect(0, 0, 1, 1) would occupy whole window. |
path |
Path to a file. Optional at initialization. |
isURL |
When set to |
an instance of the widget
Get/set the path to an image file.
newPath |
|
isURL |
When set to |
current path