direction
direction: CanvasDirection
fillStyle
fillStyle: string | CanvasPattern | CanvasGradient
fontKerning
fontKerning: CanvasFontKerning
globalAlpha
globalAlpha: number
globalCompositeOperation
globalCompositeOperation: GlobalCompositeOperation
imageSmoothingEnabled
imageSmoothingEnabled: boolean
imageSmoothingQuality
imageSmoothingQuality: ImageSmoothingQuality
Optional
letterSpacing
letterSpacing?: string
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 | CanvasPattern | CanvasGradient
textAlign
textAlign: CanvasTextAlign
textBaseline
textBaseline: CanvasTextBaseline
Optional
textLetterSpacing
textLetterSpacing?: string
Common interface for CanvasRenderingContext2D, OffscreenCanvasRenderingContext2D, and other custom canvas 2D context.
Memberof
PIXI