TriangleEdgeTreatment

An edge treatment which draws triangles at the midpoint of an edge, facing into or out of the shape.

If you want to draw a triangular shape below a circle (similar to a map marker), use instead.

Constructors

Link copied to clipboard
constructor(size: Float, inside: Boolean)
Instantiates a triangle treatment of the given size, which faces inward or outward relative to the shape.

Functions

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