Documentation/D2DStrokeStyle
classWORKERCLONEABLE

D2DStrokeStyle

js/d2d.js:627

Reusable Direct2D stroke style describing line caps, joins and dash behaviour.
Create with d2d.StrokeStyle and reuse it across drawing calls instead of rebuilding the same stroke configuration every frame.

Example source

propertyWORKERreadonly

DashCap

js/d2d.js:651
DashCap: CapStyle
propertyWORKERreadonly

Dashes

js/d2d.js:686
Dashes: Array<number>
propertyWORKERreadonly

DashOffset

js/d2d.js:679
DashOffset: number
propertyWORKERreadonly

DashStyle

js/d2d.js:672
DashStyle: DashStyle
propertyWORKERreadonly

EndCap

js/d2d.js:644
EndCap: CapStyle
propertyWORKERreadonly

LineJoin

js/d2d.js:658
LineJoin: LineJoin
propertyWORKERreadonly

MiterLimit

js/d2d.js:665
MiterLimit: number
propertyWORKERreadonly

StartCap

js/d2d.js:637
StartCap: CapStyle