ShapePainter class Null safety

Represents the Shape marker painter.

Constructors

ShapePainter()

Properties

hashCode int
The hash code for this object. [...]
read-only, inherited
runtimeType Type
A representation of the runtime type of the object.
read-only, inherited

Methods

noSuchMethod(Invocation invocation) → dynamic
Invoked when a non-existent method or property is accessed. [...]
inherited
toString() String
A string representation of this object. [...]
inherited

Operators

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

Static Methods

getShapesPath({Canvas? canvas, Paint? paint, Paint? borderPaint, required Rect rect, required ShapeMarkerType shapeType, Path? path, double? pentagonRotation = -pi / 2, double? radius, double? degree, double? startAngle, double? endAngle}) Path
Get the various shape path
paint({required Canvas canvas, required Rect rect, required ShapeMarkerType shapeType, required Paint paint, Path? path, double? elevation, Color? elevationColor, Paint? borderPaint}) → void
Draws the different marker shapes.