RectCoordConv class

The converter of a rectangle coordinate.

Inheritance

Constructors

RectCoordConv(Rect region, int dimCount, double dimFill, bool transposed, List<double> renderRangeX, List<double> renderRangeY)
Creates a rectangle coordinate converter.

Properties

dimCount int
The Coord.dimCount.
finalinherited
dimFill double
The Coord.dimFill.
finalinherited
hashCode int
The hash code for this object.
no setterinherited
horizontals List<double>
Horizontal boundaries of the coordinate.
final
region Rect
The coordinate region.
finalinherited
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
transposed bool
The Coord.transposed.
finalinherited
verticals List<double>
Vertical boundaries of the coordinate.
final

Methods

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