CapsuleHalfMarkerShape class

Half-capsule marker shape with orientation.

Renders a half-capsule (semicircular) shape. The flat side is determined by the orientation parameter.

Inheritance

Constructors

CapsuleHalfMarkerShape()
const

Properties

hashCode int
The hash code for this object.
no setteroverride
runtimeType Type
A representation of the runtime type of the object.
no setterinherited
typeName String
Returns the type name of this shape for JSON serialization
no setteroverride

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