Draw: {
    ctx: CanvasRenderingContext2D;
    currentPoint: Point;
    prevPoint: Point | null;
}

Represents a stroke on the canvas

Type declaration

  • ctx: CanvasRenderingContext2D
  • currentPoint: Point
  • prevPoint: Point | null

Generated using TypeDoc