Namespace colorToRGBA
Defined in: naview.js.
| Constructor Attributes | Constructor Name and Description |
|---|---|
|
Helper function for returning any color as an Array of [r, g, b, a]
|
Namespace Detail
colorToRGBA
Helper function for returning any color as an Array of [r, g, b, a]
- Parameters:
- {string} color
- color string. Must be a valid canvas fillStyle