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

TemplateColorScheme Class Reference

Constructors

Instance Methods

Constructors

new TemplateColorScheme(parameters)

Initalizes an instance of TemplateColorScheme.

Instance Methods

templateColorScheme.getBackgroundColor() ⇒ RGBColor

Get the BackgroundColor

Kind: Instance method of TemplateColorScheme
Returns: RGBColor - the KEY_BACKGROUND_COLOR value

templateColorScheme.getPrimaryColor() ⇒ RGBColor

Get the PrimaryColor

Kind: Instance method of TemplateColorScheme
Returns: RGBColor - the KEY_PRIMARY_COLOR value

templateColorScheme.getSecondaryColor() ⇒ RGBColor

Get the SecondaryColor

Kind: Instance method of TemplateColorScheme
Returns: RGBColor - the KEY_SECONDARY_COLOR value

templateColorScheme.setBackgroundColor(color) ⇒ TemplateColorScheme

Set the BackgroundColor

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

ParamTypeDescription
color RGBColor The color of the background - The desired BackgroundColor.

templateColorScheme.setPrimaryColor(color) ⇒ TemplateColorScheme

Set the PrimaryColor

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

ParamTypeDescription
color RGBColor The primary "accent" color - The desired PrimaryColor.

templateColorScheme.setSecondaryColor(color) ⇒ TemplateColorScheme

Set the SecondaryColor

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

ParamTypeDescription
color RGBColor The secondary "accent" color - The desired SecondaryColor.
View on GitHub.com
Previous Section Next Section