@kayelaa/canvas API - v0.2.15
Preparing search index...
parseFillStyle
Function parseFillStyle
parseFillStyle
(
fillStyle
:
string
,
)
:
{
r
:
number
;
g
:
number
;
b
:
number
;
a
:
number
}
Extract numeric RGBA from ctx.fillStyle Supports hex (#rgb, #rrggbb) and rgb(a)
Parameters
fillStyle
:
string
Returns
{
r
:
number
;
g
:
number
;
b
:
number
;
a
:
number
}
Settings
Member Visibility
Protected
Private
Inherited
External
Theme
OS
Light
Dark
@kayelaa/canvas API - v0.2.15
Loading...
Extract numeric RGBA from ctx.fillStyle Supports hex (#rgb, #rrggbb) and rgb(a)