CanvasState: { alpha: number; dashed: boolean; dashPattern: string; dx: number; dy: number; fillAlpha: number; fillColor: ColorValue; fixDash: boolean; fontBackgroundColor: ColorValue; fontBorderColor: ColorValue; fontColor: ColorValue; fontFamily: string; fontSize: number; fontStyle: number; gradientAlpha: number; gradientColor: ColorValue; gradientDirection: DirectionValue; gradientFillAlpha: number; lineCap: string; lineJoin: string; miterLimit: number; rotation: number; rotationCx: number; rotationCy: number; scale: number; shadow: boolean; shadowAlpha: number; shadowColor: ColorValue; shadowDx: number; shadowDy: number; strokeAlpha: number; strokeColor: ColorValue; strokeWidth: number; transform: string | null; } Type declaration
alpha: number
dashed: boolean
dashPattern: string
dx: number
dy: number
fillAlpha: number
fixDash: boolean
fontBackgroundColor: ColorValue
fontFamily: string
fontSize: number
fontStyle: number
gradientAlpha: number
gradientFillAlpha: number
lineCap: string
lineJoin: string
miterLimit: number
rotation: number
rotationCx: number
rotationCy: number
scale: number
shadow: boolean
shadowAlpha: number
shadowDx: number
shadowDy: number
strokeAlpha: number
strokeWidth: number
transform: string | null
See CellStateStyle.fontStyle.