Dynamic Icons Scripting Reference - v1.3.0
GitHub
Wiki
Preparing search index...
skia-canvas
CanvasFillStrokeStyles
Interface CanvasFillStrokeStyles
interface
CanvasFillStrokeStyles
{
fillStyle
:
string
|
CanvasGradient
|
CanvasPattern
|
CanvasTexture
;
strokeStyle
:
string
|
CanvasGradient
|
CanvasPattern
|
CanvasTexture
;
createConicGradient
(
startAngle
:
number
,
x
:
number
,
y
:
number
,
)
:
CanvasGradient
;
createLinearGradient
(
x0
:
number
,
y0
:
number
,
x1
:
number
,
y1
:
number
,
)
:
CanvasGradient
;
createPattern
(
image
:
CanvasPatternSource
,
repetition
:
null
|
string
,
)
:
null
|
CanvasPattern
;
createRadialGradient
(
x0
:
number
,
y0
:
number
,
r0
:
number
,
x1
:
number
,
y1
:
number
,
r1
:
number
,
)
:
CanvasGradient
;
createTexture
(
spacing
:
Offset
,
options
?:
CreateTextureOptions
,
)
:
CanvasTexture
;
}
Hierarchy (
View Summary
)
CanvasFillStrokeStyles
CanvasRenderingContext2D
Index
Methods
create
Conic
Gradient
create
Linear
Gradient
create
Pattern
create
Radial
Gradient
create
Texture
Properties
fill
Style
stroke
Style
Methods
create
Conic
Gradient
createConicGradient
(
startAngle
:
number
,
x
:
number
,
y
:
number
)
:
CanvasGradient
MDN Reference
Parameters
startAngle
:
number
x
:
number
y
:
number
Returns
CanvasGradient
create
Linear
Gradient
createLinearGradient
(
x0
:
number
,
y0
:
number
,
x1
:
number
,
y1
:
number
,
)
:
CanvasGradient
MDN Reference
Parameters
x0
:
number
y0
:
number
x1
:
number
y1
:
number
Returns
CanvasGradient
create
Pattern
createPattern
(
image
:
CanvasPatternSource
,
repetition
:
null
|
string
,
)
:
null
|
CanvasPattern
MDN Reference
Parameters
image
:
CanvasPatternSource
repetition
:
null
|
string
Returns
null
|
CanvasPattern
create
Radial
Gradient
createRadialGradient
(
x0
:
number
,
y0
:
number
,
r0
:
number
,
x1
:
number
,
y1
:
number
,
r1
:
number
,
)
:
CanvasGradient
MDN Reference
Parameters
x0
:
number
y0
:
number
r0
:
number
x1
:
number
y1
:
number
r1
:
number
Returns
CanvasGradient
create
Texture
createTexture
(
spacing
:
Offset
,
options
?:
CreateTextureOptions
)
:
CanvasTexture
Skia Canvas Docs
Parameters
spacing
:
Offset
Optional
options
:
CreateTextureOptions
Returns
CanvasTexture
Properties
fill
Style
fillStyle
:
string
|
CanvasGradient
|
CanvasPattern
|
CanvasTexture
MDN Reference
stroke
Style
strokeStyle
:
string
|
CanvasGradient
|
CanvasPattern
|
CanvasTexture
MDN Reference
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Methods
create
Conic
Gradient
create
Linear
Gradient
create
Pattern
create
Radial
Gradient
create
Texture
Properties
fill
Style
stroke
Style
GitHub
Wiki
Dynamic Icons Scripting Reference - v1.3.0
Loading...
MDN Reference