Class: Pixel

Guacamole.Layer.Pixel

new Pixel(r, g, b, a)

Represents a single pixel of image data. All components have a minimum value of 0 and a maximum value of 255.
Parameters:
Name Type Description
r Number The red component of this pixel.
g Number The green component of this pixel.
b Number The blue component of this pixel.
a Number The alpha component of this pixel.
Source:

Members

alpha

The alpha component of this pixel, where 0 is the minimum value, and 255 is the maximum.
Source:

blue

The blue component of this pixel, where 0 is the minimum value, and 255 is the maximum.
Source:

green

The green component of this pixel, where 0 is the minimum value, and 255 is the maximum.
Source:

red

The red component of this pixel, where 0 is the minimum value, and 255 is the maximum.
Source: