Optional
blendOptional
decalOptional
fillOptional
fillOptional
fontOptional
fontOptional
fontOptional
fontOptional
fontOptional
lineOptional
linetrue
is not supported.
false
/null
/undefined
are the same.
false
is used to remove lineDash in some
case that null
/undefined
can not be set.
(e.g., emphasis.lineStyle in )
Optional
lineOptional
lineOptional
lineOptional
miterOptional
opacityOptional
shadowOptional
shadowOptional
shadowOptional
shadowOptional
strokeOptional
strokePaint order, if do stroke first. Similar to SVG paint-order https://developer.mozilla.org/en-US/docs/Web/SVG/Attribute/paint-order
Optional
strokeOptional
strokeOptional
strokeStill experimental, not works weel on arc with edge cases(large angle).
Optional
textOptional
textOptional
textOptional
xOptional
y
https://developer.mozilla.org/en-US/docs/Web/API/CanvasRenderingContext2D/globalCompositeOperation