Method SDL.PixelFormat()->get_rgba()
- Method
get_rgba
 mapping(string:Image.Color.Color|int) get_rgba(intpixel)- Description
 Get RGB component values from a pixel stored in this pixel format.
- Parameter 
pixel A pixel retrieved from a surface with this pixel format or a color previously mapped with map_rgb() or map_rgba().
- Returns
 A mapping containing the RGBA components of the pixel:
"color":Image.Color.ColorThe RGB color value of the pixel.
"alpha":intThe alpha value of the pixel in the range 0-255.
- See also