Properties
direction
direction: CanvasDirection
fillStyle
fillStyle: string | CanvasGradient | CanvasPattern
filter
filter: string
font
font: string
globalAlpha
globalAlpha: number
globalCompositeOperation
globalCompositeOperation: string
imageSmoothingEnabled
imageSmoothingEnabled: boolean
imageSmoothingQuality
imageSmoothingQuality: ImageSmoothingQuality
lineCap
lineCap: CanvasLineCap
lineDashOffset
lineDashOffset: number
lineJoin
lineJoin: CanvasLineJoin
lineWidth
lineWidth: number
miterLimit
miterLimit: number
shadowBlur
shadowBlur: number
shadowColor
shadowColor: string
shadowOffsetX
shadowOffsetX: number
shadowOffsetY
shadowOffsetY: number
strokeStyle
strokeStyle: string | CanvasGradient | CanvasPattern
textAlign
textAlign: CanvasTextAlign
textBaseline
textBaseline: CanvasTextBaseline