Difference between revisions of "Event.MEDIA CANCEL"
From GiderosMobile
m |
|||
Line 1: | Line 1: | ||
__NOTOC__ | __NOTOC__ | ||
− | |||
− | |||
'''<translate>Available since</translate>:''' Gideros 2016.1<br/> | '''<translate>Available since</translate>:''' Gideros 2016.1<br/> | ||
− | |||
'''<translate>Value</translate>:''' complete<br/> | '''<translate>Value</translate>:''' complete<br/> | ||
− | |||
'''<translate>Defined by</translate>:''' [[Special:MyLanguage/Media|Media]]<br/> | '''<translate>Defined by</translate>:''' [[Special:MyLanguage/Media|Media]]<br/> | ||
− | === | + | === Description === |
− | |||
− | |||
This event is dispatched when a media selection is cancelled by user. | This event is dispatched when a media selection is cancelled by user. | ||
− | |||
− | |||
− | |||
+ | === Example === | ||
<source lang="lua"> | <source lang="lua"> | ||
--user cancelled selecting image | --user cancelled selecting image | ||
Line 24: | Line 16: | ||
</source> | </source> | ||
− | === | + | === Parameters === |
− | + | {{Media}} | |
− |
Revision as of 17:24, 16 March 2020
Available since: Gideros 2016.1
Value: complete
Defined by: Media
Description
This event is dispatched when a media selection is cancelled by user.
Example
--user cancelled selecting image
mediamanager:addEventListener(Event.MEDIA_CANCEL, function()
print("User cancelled media input")
end)
Parameters
- X Media:copy
- X Media:crop
- X Media:drawFill
- X Media:drawImage
- X Media:drawLine
- X Media:drawText
- X Media:flipHorizontal
- X Media:flipVertical
- X Media:floodFill
- X Media:getHeight
- X Media:getPath
- X Media:getPixel
- X Media:getRotation
- X Media:getWidth
- X Media:resize
- X Media:resizeHeight
- X Media:resizeWidth
- X Media:save
- X Media:setPixel
- X Media:setRotation
- X Media:trim