HobbyTension

data class HobbyTension(val start: Double = 1.0, val end: Double = 1.0, val atLeast: Boolean = false)(source)

The METAFONT tensions of a segment of a Hobby curve, see hobbyCurve.

Parameters

start

the tension where the segment leaves its start point, at least 3/4

end

the tension where the segment arrives at its end point, at least 3/4

atLeast

whether the tensions are minimums that keep the segment inside the triangle of its chord and end tangents, as METAFONT's tension atleast

Constructors

Link copied to clipboard
constructor(start: Double = 1.0, end: Double = 1.0, atLeast: Boolean = false)

Properties

Link copied to clipboard
Link copied to clipboard
val end: Double
Link copied to clipboard