Class Guacamole.Layer.Pixel
Defined in: layer.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Guacamole.Layer.Pixel(r, g, b, a)
Represents a single pixel of image data.
|
Field Attributes | Field Name and Description |
---|---|
The alpha component of this pixel, where 0 is the minimum value,
and 255 is the maximum.
|
|
The blue component of this pixel, where 0 is the minimum value,
and 255 is the maximum.
|
|
The green component of this pixel, where 0 is the minimum value,
and 255 is the maximum.
|
|
The red component of this pixel, where 0 is the minimum value,
and 255 is the maximum.
|
Class Detail
Guacamole.Layer.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:
- {Number} r
- The red component of this pixel.
- {Number} g
- The green component of this pixel.
- {Number} b
- The blue component of this pixel.
- {Number} a
- The alpha component of this pixel.
Field Detail
alpha
The alpha component of this pixel, where 0 is the minimum value,
and 255 is the maximum.
blue
The blue component of this pixel, where 0 is the minimum value,
and 255 is the maximum.
green
The green component of this pixel, where 0 is the minimum value,
and 255 is the maximum.
red
The red component of this pixel, where 0 is the minimum value,
and 255 is the maximum.