BrushPath class

Constructors

BrushPath.new({required Path path, double strokeWidth = 10.0, BlendMode mode = BlendMode.src, PaintingStyle style = PaintingStyle.stroke, Color color = Colors.black, double hardness = 0.5})

Properties

color Color
getter/setter pair
hardness double
getter/setter pair
hashCode int
The hash code for this object.
no setterinherited
mode BlendMode
getter/setter pair
path Path
getter/setter pair
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
strokeWidth double
getter/setter pair
style PaintingStyle
getter/setter pair

Methods

changeHardness(double value) → void
changeStrokeWidth(double width) → void
copy() BrushPath
lineTo(double x, double y) → void
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