CapsuleHalfMarkerShape class
Half-capsule marker shape with orientation.
Renders a half-capsule (semicircular) shape. The flat side is determined
by the orientation parameter.
- Inheritance
-
- Object
- MarkerShape
- CapsuleHalfMarkerShape
Constructors
- CapsuleHalfMarkerShape()
-
const
Properties
Methods
-
getEffectiveSize(
Size baseSize, ShapeDirection orientation) → Size -
Returns the effective rendered size of this shape for a given base size
and orientation.
inherited
-
noSuchMethod(
Invocation invocation) → dynamic -
Invoked when a nonexistent method or property is accessed.
inherited
-
paint(
Canvas canvas, Offset center, Size size, Paint fillPaint, Paint? borderPaint, {ShapeDirection? orientation, bool isPointingOutward = false}) → void -
Paints the marker shape on the given canvas.
override
-
toJson(
) → Map< String, dynamic> -
Converts this shape to a JSON-serializable map
inherited
-
toString(
) → String -
A string representation of this object.
inherited
Operators
-
operator ==(
Object other) → bool -
The equality operator.
override