AudioVisualizerBar class

A rounded bar of a visualizer: a box with fully rounded corners of radius, turned rotation radians clockwise about the point (pivotX, pivotY) of the layer's box, its own coordinates measured from that point.

Annotations

Constructors

AudioVisualizerBar({required double left, required double top, required double right, required double bottom, required double radius, double pivotX = 0, double pivotY = 0, double rotation = 0})
Creates a bar.
const

Properties

bottom → double
The bottom edge, from pivotY.
final
hashCode → int
The hash code for this object.
no setteroverride
left → double
The left edge, from pivotX.
final
pivotX → double
Where the bar's coordinates start, and what it turns about, in the layer's box.
final
pivotY → double
See pivotX.
final
radius → double
The radius of every corner.
final
The right edge, from pivotX.
final
rotation → double
The clockwise turn about the pivot, in radians.
final
runtimeType → Type
A representation of the runtime type of the object.
no setterinherited
top → double
The top edge, from pivotY.
final

Methods

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

Operators

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