Class Index | File Index

Classes


Class Guacamole.Layer.Pixel


Defined in: Layer.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
Guacamole.Layer.Pixel(r, g, b, a)
Represents a single pixel of image data.
Field Summary
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.
 
red
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.

Documentation generated by JsDoc Toolkit 2.4.0 on Wed Jun 10 2015 21:35:44 GMT-0700 (PDT)