Skip to main content

clickedImage

Type​

property

Summary​

Get the image data of the image that was clicked on

Syntax​

: get the clickedImage of <widget>

Description​

Get the image data for the image the user clicked on. When settng the data on an image ensure that the width and height are set before the imageData and alphaData.

Value​

NameTypeDescription

return

An array with keys:

  • "imagedata" - image data compatible with the image object imageData property with the image object imageData property
  • "width" - the image width
  • "height" the image height

message: imageClicked

property: width, height, imageData, alphaData

Compatibility and Support​

OS

mac

windows

linux

ios

android

Platforms

desktop

server

mobile