LineRadial<T> class
Radial lines
A radial line generator is like the Cartesian line generator except the Line.x and Line.y accessors are replaced with angle and radius accessors.
Radial lines are positioned relative to the origin; use a transform to change the origin.
Constructors
-
LineRadial(num angle(T, int, List<
T> ), num radius(T, int, List<T> )) -
Constructs a new radial line generator with the given
angleandradiusaccessor. - LineRadial.withConstants(num angle, num radius)
-
Constructs a new line generator with the given
angleandradiusnumbers.
Properties
-
angle
↔ num Function(T, int, List<
T> ) -
Equivalent to Line.x, except the accessor returns the angle in radians,
with 0 at -y (12 o’clock).
getter/setter pair
- context ↔ Path?
-
Equivalent to Line.context.
getter/setter pairinherited-setter
- curve ↔ CurveFactory
-
Equivalent to Line.curve.
getter/setter pair
-
defined
↔ bool Function(T, int, List<
T> ) -
Equivalent to Line.defined.
getter/setter pairinherited-setter
- digits ↔ num?
-
Equivalent to Line.digits.
getter/setter pairinherited-setter
- hashCode → int
-
The hash code for this object.
no setterinherited
-
radius
↔ num Function(T, int, List<
T> ) -
Equivalent to Line.y, except the accessor returns the radius: the
distance from the origin.
getter/setter pair
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
Methods
-
call(
List< T> data) → String? - Equivalent to Line.call.
-
constAngle(
num angle) → void - Defines the LineRadial.angle-accessor as a constant function that always returns the specified value.
-
constDefined(
bool defined) → void - Defines the LineRadial.defined-accessor as a constant function that always returns the specified value.
-
constRadius(
num radius) → void - Defines the LineRadial.radius-accessor as a constant function that always returns the specified value.
-
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