ExpressiveMeasurer class abstract interface

Interface for measuring a cubic. Implementations can use whatever algorithm desired to produce these measurement values.

Implementers

Properties

hashCode → int
The hash code for this object.
no setterinherited
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited

Methods

findCubicCutPoint(ExpressiveShapeCubic c, double m) → double
Given a cubic and a measure that should be between 0 and the value returned by measureCubic (if not, it will be capped), finds the parameter t of the cubic at which that measure is reached.
measureCubic(ExpressiveShapeCubic c) → double
Returns size of given cubic, according to however the implementation wants to measure the size (angle, length, etc). It has to be greater or equal to 0.
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.
inherited