Adds an image into your layout.
Please note that a canvas image cannot switch to Button or Avatar in setOptions method.
Here are the available methods of the Image Component.
Examples
Properties
The following properties are available on the Image object:
absHeight → Number
absLeft → Number
absTop → Number
absWidth → Number
backColor → String
backImage → String
border → Number
borderColor → String
borderStyle → String
cornerRadius → Number
disabled → Boolean
el → Object
elStyle → String
errorIcon → String
fill → String
fillColor → String
fontFile → String
height → Number
image → String
isVisible → Boolean
left → Number
lineCap → String
lineJoin → String
lineWidth → Number
margins → List
miterLimit → Number
opacity → Number
options → String
padding → List
parent → Object
pixelData → List
position → Object
rotation → Number
strokeColor → String
textColor → String
textSize → Number
textStyle → String
top → Number
type → String
visibility → String
width → Number
Methods
The following methods are available on the Image object:
clear()
destroy()
getPosition(
options )
→ Object
gone()
hide()
measureText(
text )
→ Object
show()