EllipseScatterDelegate constructor
EllipseScatterDelegate({})
Creates a delegate where children of a RenderScatter are placed on an ellipse.
The parametric representation of an ellipse is (x,y)=(a cos θ, b sin θ)
The arguments cannot be null.
The arguments a and b must be positive and step
cannot be zero.
Implementation
EllipseScatterDelegate({
required this.a,
required this.b,
double step = 0.01,
double start = 0.0,
}) : assert(a > 0),
assert(b > 0),
assert(step != 0),
_stepRadians = step * _2pi,
_startRadians = start * _2pi;