Point constructor
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,
@Default(0) int timestamp,
}) = _Point;
Represents a point in a sketch with an x and y coordinate and an optional pressure value.
const factory Point(
double x,
double y, {
@Default(0.5) double pressure,
@Default(0) int timestamp,
}) = _Point;