Arc

object Arc

Properties

Link copied to clipboard
const val K: Double = 0.5522847498307933

Functions

Link copied to clipboard
fun arcPath(out: VectorBuilder, p1: Point, p2: Point, radius: Double, counterclockwise: Boolean = false)
fun arcPath(out: VectorBuilder, center: Point, r: Double, start: Angle, end: Angle, counterclockwise: Boolean = false)
Link copied to clipboard
fun arcToPath(out: VectorBuilder, a: Point, c: Point, r: Double)
Link copied to clipboard
fun area(radius: Double, angle: Angle): Double
Link copied to clipboard
fun createArc(p1: Point, p2: Point, radius: Double, counterclockwise: Boolean = false): Curves
fun createArc(p: Point, r: Double, start: Angle, end: Angle, counterclockwise: Boolean = false): Curves
Link copied to clipboard
fun createCircle(p: Point, radius: Double): Curves
Link copied to clipboard
fun createEllipse(p: Point, radius: Size): Curves
Link copied to clipboard
fun ellipsePath(out: VectorBuilder, p: Point, rsize: Size)
Link copied to clipboard
fun findArcCenter(p1: Point, p2: Point, radius: Double): Point
Link copied to clipboard
fun length(radius: Double, angle: Angle): Double