StrokePoint class
One sampled point of a stroke, in canvas units.
- Annotations
Constructors
- StrokePoint(double x, double y, [double pressure = 0.5])
-
Creates a point.
const
Properties
- hashCode → int
-
The hash code for this object.
no setteroverride
- pressure → double
-
Pressure 0–1 (0.5 when the device does not report pressure).
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- x → double
-
Horizontal position in canvas units.
final
- y → double
-
Vertical position in canvas units.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override