🔰graphics state
browser ⟩ canvas ⟩ graphics state
the drawing state that gets saved onto a stack:
current transformation matrix
current clipping region
current dash list: .setLineDash(), .getLineDash(), .lineDashOffset
current values of:
line styles:
lineWidth
,lineCap
,lineJoin
,miterLimit
,lineDashOffset
text styles:
font
,textAlign
,textBaseline
,direction
Last updated