RectCoord class

The specification of a rectangle coordinate.

In a rectangle coordinate, dimensions are assigned to horizontal and vertical directions.

Unlike the canvas coordinate, the vertical dimension direction is from bottom to top.



RectCoord({List<double>? horizontalRange, EventUpdater<List<double>>? horizontalRangeUpdater, List<double>? verticalRange, EventUpdater<List<double>>? verticalRangeUpdater, int? dimCount, double? dimFill, bool? transposed, Color? color, Gradient? gradient})
Creates a rectangle coordinate.


color Color?
The color of this coordinate region.
read / writeinherited
dimCount int?
The count of coordinate dimensions.
read / writeinherited
dimFill double?
The position value to fill the domain dimension when dimCount is 1.
read / writeinherited
gradient Gradient?
The gradient of this coordinate region.
read / writeinherited
hashCode int
The hash code for this object.
horizontalRange List<double>?
Range ratio of coordinate width to coordinate region width.
read / write
horizontalRangeUpdater EventUpdater<List<double>>?
Event updater of horizontalRange.
read / write
layer int?
The layer of this coordinate region background.
read / writeinherited
runtimeType Type
A representation of the runtime type of the object.
transposed bool?
Weither to transpose domain dimension and measure dimension.
read / writeinherited
verticalRange List<double>?
Range ratio of coordinate height to coordinate region height.
read / write
verticalRangeUpdater EventUpdater<List<double>>?
Event updater of verticalRange.
read / write


noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
toString() String
A string representation of this object.


operator ==(Object other) bool
The equality operator.