Curve2DSample class
A class that holds a sample of a 2D parametric curve, containing the value (the X, Y coordinates) of the curve at the parametric value t.
See also:
- Curve2D.generateSamples, which generates samples of this type.
- Curve2D, a parametric curve that maps a double parameter to a 2D location.
Constructors
- Curve2DSample(double t, Offset value)
-
Creates an object that holds a sample; used with Curve2D subclasses.
const
Properties
- hashCode → int
-
The hash code for this object.
no setterinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- t → double
-
The parametric location of this sample point along the curve.
final
- value → Offset
-
The value (the X, Y coordinates) of the curve at parametric value t.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
toString(
) → String -
A string representation of this object.
override
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited