Expand Minimize Picture-in-picture Power Device Status Voice Recognition Skip Back Skip Forward Minus Plus Play Search
Documentation
RGBColor

RGBColor Class Reference

Constructors

Instance Methods

Constructors

new RGBColor(parameters)

Initalizes an instance of RGBColor.

Instance Methods

rGBColor.getBlue() ⇒ Number

Get the Blue

Kind: Instance method of RGBColor
Returns: Number - the KEY_BLUE value

rGBColor.getGreen() ⇒ Number

Get the Green

Kind: Instance method of RGBColor
Returns: Number - the KEY_GREEN value

rGBColor.getRed() ⇒ Number

Get the Red

Kind: Instance method of RGBColor
Returns: Number - the KEY_RED value

rGBColor.setBlue(blue) ⇒ RGBColor

Set the Blue

Kind: Instance method of RGBColor
Returns: RGBColor - The class instance for method chaining.

ParamTypeDescription
blue Number The desired Blue.

rGBColor.setGreen(green) ⇒ RGBColor

Set the Green

Kind: Instance method of RGBColor
Returns: RGBColor - The class instance for method chaining.

ParamTypeDescription
green Number The desired Green.

rGBColor.setRed(red) ⇒ RGBColor

Set the Red

Kind: Instance method of RGBColor
Returns: RGBColor - The class instance for method chaining.

ParamTypeDescription
red Number The desired Red.
View on GitHub.com
Previous Section Next Section