Views
Page
Discussion
View source
History
ImageData:getPixel
Contents
1
Function
1.1
Synopsis
1.2
Arguments
1.3
Returns
2
See Also
Function
Synopsis
r
,
g
,
b
,
a
=
ImageData
:
getPixel
(
x
,
y
)
Arguments
number
x
The position of the pixel on the x-axis.
number
y
The position of the pixel on the y-axis.
Returns
number
r
The red component (0-255).
number
g
The green component (0-255).
number
b
The blue component (0-255).
number
a
The alpha component (0-255).
See Also
ImageData
Category
:
Functions
Personal tools
Log in
Search
documentation
love
love.audio
love.data
love.event
love.filesystem
love.font
love.graphics
love.image
love.joystick
love.keyboard
love.math
love.mouse
love.physics
love.sound
love.system
love.thread
love.timer
love.touch
love.video
love.window
lua-enet
luasocket
utf8
Navigation
Home
Forums
Issue tracker
wiki navigation
Main page
Recent changes
Random page
Tools
What links here
Related changes
Special pages
Permanent link
Page information
Browse properties