Class Index | File Index

Classes


Namespace sandboxe.color


Defined in: docbase.js.

Namespace Summary
Constructor Attributes Constructor Name and Description
 
Functions to work with color objects
Method Summary
Method Attributes Method Name and Description
<static>  
sandboxe.color.create(param, green, blue, alpha)
Creates a new RGBA color object.
Namespace Detail
sandboxe.color
Functions to work with color objects
Method Detail
<static> {color} sandboxe.color.create(param, green, blue, alpha)
Creates a new RGBA color object.
Parameters:
{string|number} param
If the first parameter is alone, it is interpreted as a string as if calling color.set. If not alone, it is a decimal for the red component.
{number} green
green value as a decimal. 0.f to 1.f.
{number} blue
Blue value as a decimal. 0.f to 1.f.
{number} alpha
Alpha value as a decimal. 0.f to 1.f.
Returns:
{color}

Documentation generated by JsDoc Toolkit 2.4.0 on Sun Feb 03 2019 18:30:56 GMT-0500 (EST)