Anonymous

Not logged in

  • British English
  • Log in
GiderosMobile

Last 8 Pages Viewed: Os » B2.RevoluteJoint:getJointSpeed » Media » Sprite:swapChildren » B2.Contact » X Media:getPixel

X Media:getPixel

From GiderosMobile

Namespaces

  • Page
  • Discussion

More

  • More
  • Languages

Page actions

  • Read
  • View source
  • History
Revision as of 23:50, 11 February 2020 by MoKaLux (talk | contribs)
(diff) ← Older revision | Latest revision (diff) | Newer revision → (diff)


Available since: Gideros 2016.1
Class: Media

Description

Returns r, g, b, a values of pixel at x,y coordinate (RGB are in range of 0 to 255, alpha is in range of 0 to 1).

Media:getPixel(x, y)

Parameters

x: (number) x pixel coordinate
y: (number) y pixel coordinate



  • 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:getPixel&oldid=16003’
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