ShapesGenerator class

Constructors

ShapesGenerator.randomly({required double maxWidth, required double maxHeight, required bool enableXMovements, required bool enableYMovements, required double maxSize, required double minSize, required double maxOpacity, required double minOpacity, required List<ItemBehaviour> behaviours, required List<Color> colors, required double maxSpeed, required double minSpeed})

Properties

behaviours List<ItemBehaviour>
getter/setter pair
colors List<Color>
getter/setter pair
enableXMovements bool
getter/setter pair
enableYMovements bool
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
maxHeight double
getter/setter pair
maxOpacity double
getter/setter pair
maxSize double
getter/setter pair
maxSpeed double
getter/setter pair
maxWidth double
getter/setter pair
minOpacity double
getter/setter pair
minSize double
getter/setter pair
minSpeed double
getter/setter pair
rm Random
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited

Methods

getDouble(double min, double max) double
getLinesShapes(int lines) List<Shape>
getShapes(int count) List<Shape>
noSuchMethod(Invocation invocation) → dynamic
Invoked when a nonexistent method or property is accessed.
inherited
randomSpeed() double
toString() String
A string representation of this object.
inherited

Operators

operator ==(Object other) bool
The equality operator.
inherited