colorFromString

Creates a color from given RGBA channels contained in a string. Ex. "255,255,0" fpr green or with alpha "255,255,0,150"

Paint
colorFromString
(
string color
)

Parameters

color string

The color string of the RGBA channels.

Return Value

Type: Paint

The color created.

Meta