MarkerEdgeTreatment

Draws an arrow on the edge given the radius of a circle. The arrow is drawn as two perpendicular lines tangent to the circle. This allows the arrow to be drawn smoothly on a pill or circular shape.

If you just want a triangle of a specific size use TriangleEdgeTreatment instead.

Constructors

Link copied to clipboard
constructor(radius: Float)

Functions

Link copied to clipboard
open fun getEdgePath(length: Float, center: Float, interpolation: Float, @NonNull shapePath: ShapePath)
Generates a ShapePath for this edge treatment.