PolarCoordConv class
The converter of a polar coordinate.
Constructors
Properties
-
angles
→ List<
double> -
Start and end angles of the coordinate.
final
- center → Offset
-
The center of the polar coordinate.
final
- dimCount → int
-
The Coord.dimCount.
finalinherited
- dimFill → double
-
The Coord.dimFill.
finalinherited
- endAngle → double
-
The PolarCoord.endAngle.
final
- endRadius → double
-
The end Radius of the plane.
final
- hashCode → int
-
The hash code for this object.
read-onlyinherited
-
radiuses
→ List<
double> -
Start and end radiuses of the coordinate.
final
- region → Rect
-
The coordinate region.
finalinherited
- runtimeType → Type
-
A representation of the runtime type of the object.
read-onlyinherited
- startAngle → double
-
The PolarCoord.startAngle.
final
- startRadius → double
-
The start radius of the plane.
final
- transposed → bool
-
The Coord.transposed.
finalinherited
Methods
-
convert(
Offset input) → Offset - Converts an input to output.
-
convertAngle(
double abstractAngle) → double - Converts an abstract angle to a canvas angle.
-
convertRadius(
double abstractRadius) → double - Converts an abstract radius to a canvas radius.
-
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.
-
invertAngle(
double canvasAngle) → double - Inverts a canvas angle to an abstract angle.
-
invertDistance(
double canvasDistance, [Dim? dim]) → double -
Inverts a distance in canvas to abstract distance.
override
-
invertRadius(
double canvasRadius) → double - Inverts a canvas radius to an abstract radius.
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
polarToOffset(
double canvasAngle, double canvasRadius) → Offset - Gets a canvas point form it's canvas angle and canvas radius.
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited