ShapeSignatureDrawer class
A concrete implementation of HandSignatureDrawer that draws signature as filled Path.
- Inheritance
-
- Object
- HandSignatureDrawer
- ShapeSignatureDrawer
Constructors
- ShapeSignatureDrawer.new({double width = 1.0, double maxWidth = 10.0, Color color = Colors.black})
-
Creates a ShapeSignatureDrawer with the specified
width
,maxWidth
, andcolor
.const
Properties
- color → Color
-
The color used to fill the shapes.
final
- hashCode → int
-
The hash code for this object.
no setterinherited
- maxWidth → double
-
The maximum width of the shape.
final
- runtimeType → Type
-
A representation of the runtime type of the object.
no setterinherited
- width → double
-
The base width of the shape.
final
Methods
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
paint(
Canvas canvas, Size size, List< CubicPath> paths) → void -
Paints the given
paths
onto thecanvas
.override -
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
inherited