clickedImage

Typeproperty
Dictionarywidget.pdf
LibraryPDF
Syntax
: get the clickedImage of <widget>
Associationscom.livecode.widget.pdf
Summary

Get the image data of the image that was clicked on

EditionPro
OSmac, windows, linux, ios, android
Platformsdesktop, server, mobile
Values
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
RelatedProperty: width, height, imageData, alphaData
Message: imageClicked
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.