Point constructor

const Point(
  1. double x,
  2. double y, {
  3. @Default(0.5) double pressure,
})

Represents a point in a sketch with an x and y coordinate and an optional pressure value.

Implementation

const factory Point(
  double x,
  double y, {
  @Default(0.5) double pressure,
}) = _Point;