Companion

object Companion

Types

Link copied to clipboard
data class ABCResult(val A: Point, val B: Point, val C: Point, val S: Point, val E: Point)

Properties

Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
fun cubicCalc(p0: Point, p1: Point, p2: Point, p3: Point, t: Ratio): Point
inline fun <T> cubicCalc(x0: Double, y0: Double, x1: Double, y1: Double, x2: Double, y2: Double, x3: Double, y3: Double, t: Ratio, emit: (x: Double, y: Double) -> T): T
Link copied to clipboard
fun cubicFromPoints(S: Point, B: Point, E: Point, t: Ratio = Ratio.HALF, d1: Double? = null): Bezier
Link copied to clipboard
fun quadCalc(p: Point, c: Point, a: Point, t: Ratio): Point
inline fun <T> quadCalc(x0: Double, y0: Double, xc: Double, yc: Double, x1: Double, y1: Double, t: Ratio, emit: (x: Double, y: Double) -> T): T
Link copied to clipboard
fun quadraticFromPoints(p1: Point, p2: Point, p3: Point, t: Ratio = Ratio.HALF): Bezier
Link copied to clipboard
inline fun <T> quadToCubic(x0: Double, y0: Double, xc: Double, yc: Double, x1: Double, y1: Double, bezier: (qx0: Double, qy0: Double, qx1: Double, qy1: Double, qx2: Double, qy2: Double, qx3: Double, qy3: Double) -> T): T