module:Image

Image class
image demo

Constructor

new module:Image(positionDefinition, source, optionsopt)

Image constructor

Parameters:
NameTypeAttributesDescription
positionDefinitionPositionDefinition

Top-left corner of the image

sourceString | Image | HTMLImageElement

Link to an image file, another Image instance or the image file itself

optionsComponentOptions<optional>

Drawing options

Extends