CoordConv class abstract

The converter of a coordinate.

The inputs are abstract position points from Attributes.position and outputs are canvas points.

Implementers

Constructors

CoordConv(int dimCount, double dimFill, bool transposed, Rect region)
Creates a coordinate converter.

Properties

dimCount int
The Coord.dimCount.
final
dimFill double
The Coord.dimFill.
final
hashCode int
The hash code for this object.
no setterinherited
region Rect
The coordinate region.
final
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
transposed bool
The Coord.transposed.
final

Methods

convert(Offset input) Offset
Converts an input to output.
inherited
getCanvasDim(Dim abstractDim) Dim
Transforms an abstract dimension to canvas dimension according to whether transposed.
invert(Offset output) Offset
Inverts an output to input.
inherited
invertDistance(double canvasDistance, [Dim? dim]) double
Inverts a distance in canvas to abstract distance.
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