TextDraw: {
    point: Vector2DContract | Point;
    rotate?: number;
    strokeColor?: string | CanvasGradient | CanvasPattern;
    strokeWidth?: number;
    text: string;
    textAlign?: CanvasTextAlign;
    textBaseline?: CanvasTextBaseline;
    textColor?: string | CanvasGradient | CanvasPattern;
    textSize?: number;
}

Type declaration

  • point: Vector2DContract | Point
  • Optional rotate?: number
  • Optional strokeColor?: string | CanvasGradient | CanvasPattern
  • Optional strokeWidth?: number
  • text: string
  • Optional textAlign?: CanvasTextAlign
  • Optional textBaseline?: CanvasTextBaseline
  • Optional textColor?: string | CanvasGradient | CanvasPattern
  • Optional textSize?: number

Generated using TypeDoc