Anonymous

Not logged in

  • British English
  • Log in
GiderosMobile

Last 8 Pages Viewed: B2 » 2D Space Shooter Part 3: Ships » Matrix:setM21 » B2.World:createJoint » Sprite:setSkewY » Special:RecentChangesLinked/Translations... » 2D Space Shooter Part 3: Ships » X Media:drawImage

X Media:drawImage

From GiderosMobile

Namespaces

  • Page
  • Discussion

More

  • More
  • Languages

Page actions

  • Read
  • View source
  • History
Revision as of 06:13, 11 June 2023 by MoKaLux (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)

Available since: Gideros 2016.1
Class: Media

Description

Draws another image on current one at specific x and y coordinates. You can provide either another media object or string path to image file.

Media:drawImage(x, y, media, alpha)

Parameters

x: (number) x coordinate of the new image
y: (number) y coordinate of the new image
media: (media) a media object or an image path
alpha: (number) alpha value



  • Media
  • Media.new
  • Media Plugin
  • Mediamanager:deleteFile
  • Mediamanager:getFile
  • Mediamanager:getPicture
  • Mediamanager:isCameraAvailable
  • Mediamanager:playVideo
  • Mediamanager:postPicture
  • Mediamanager:saveFile
  • Mediamanager:takePicture
  • Mediamanager:takeScreenshot
  • 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:resizeWidth(newWidth, fixed)
  • X Media:save
  • X Media:setPixel
  • X Media:setRotation
  • X Media:trim
  • Event.MEDIA RECEIVE
  • Event.MEDIA CANCEL
  • Event.VIDEO COMPLETE



  • Main Page
  • Lua API
  • Main API
  • Plugins
Retrieved from ‘https://wiki.gideros.rocks/index.php?title=X_Media:drawImage&oldid=19297’
Categories:
  • Pages using deprecated source tags
  • Media

Navigation

  • Main page
  • Recent changes
  • Random page
  • Help

Categories

► Lua API
► Main API
► Plugins

Wiki tools

Wiki tools

  • Special pages

Page tools

Page tools

    Userpage tools

      More

      • What links here
      • Related changes
      • Printable version
      • Permanent link
      • Page information
      • Page logs

      Categories

      Categories

      • Pages using deprecated source tags
      • Media
      Powered by MediaWiki
      • This page was last modified on 13 July 2023, at 15:32.
      • Privacy policy
      • About GiderosMobile
      • Disclaimers