Swing class

A swing: a circle of radius r around (cx, cy), squashed to sy across its plane.

Constructors

Swing({double cx = 0.0, double cy = 0.0, double r = 30.0, double sy = 1.0, double rot = 0.0, double a0 = 0.0, double dir = 1.0, double k = 0.0, double span = 0.0, double w = 0.0, double t0 = 0.0, double sweep = 0.0, double hold = 0.0, double trail = 0.0, List<int> ramp = const [], double hot = 0.0, bool lens = false})

Properties

a0 → double
final
cx → double
final
cy → double
final
dir → double
final
hashCode → int
The hash code for this object.
no setterinherited
hold → double
final
hot ↔ double
getter/setter pair
k → double
final
lens → bool
final
r → double
final
ramp → List<int>
final
rot → double
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
span → double
final
sweep → double
final
sy → double
final
t0 → double
final
trail → double
final
w → double
final

Methods

copyWith({double? cx, double? cy, double? r, double? sy, double? rot, double? a0, double? dir, double? k, double? span, double? w, double? t0, double? sweep, double? hold, double? trail, List<int>? ramp, double? hot, bool? lens}) → Swing
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