StrokePoint constructor

const StrokePoint(
  1. double x,
  2. double y, [
  3. double pressure = 0.5
])

Creates a point.

Implementation

const StrokePoint(this.x, this.y, [this.pressure = 0.5]);