RGBA.parse

Parses a textual representation of a color, filling in the red, green, blue and alpha fields of the rgba struct.

class RGBA
int
parse
(
string spec
)

Parameters

spec string

the string specifying the color

Return Value

Type: int

TRUE if the parsing succeeded Since 3.0

Meta