API Docs for:
Show:

GSImageView Class

An image view allows the user to select a graphic resource by clicking on it and show a preview of the current selected graphic resource.

Properties

centerImage

Boolean

Indicates if the image should be centered if the image-view is larger than the image.

Default: false

folder

String

Resource folder to select the graphic resource from.

Default: "Graphics/Pictures"

imageOffset

Object

An image-position offset.

Default: { x: 0, y: 0 }

scale

Number

Image scale factor.

Default: 1.0

scaleImageToFit

Boolean

Scales the image to fit into the image-view.

Default: false