TriangleEdgeTreatment

constructor(size: Float, inside: Boolean)

Instantiates a triangle treatment of the given size, which faces inward or outward relative to the shape.

Parameters

size

the length in pixels that the triangle extends into or out of the shape. The length of the side of the triangle coincident with the rest of the edge is 2 * size.

inside

true if the triangle should be "cut out" of the shape (i.e. inward-facing); false if the triangle should extend out of the shape.