Pie

class Pie<T>

Properties

Link copied to clipboard

Overall end angle (end angle of the last arc). In radians, where 0 is at 12 o'clock and positive increases move clockwise.

Link copied to clipboard

Angular separation between arcs in radians.

Link copied to clipboard

Overall start angle (start angle of the first arc). In radians, where 0 is at 12 o'clock and positive increases move clockwise.

Functions

Link copied to clipboard
fun endAngle(value: Float): Pie<T>
Link copied to clipboard
operator fun invoke(vararg data: T): List<Slice<T>>
operator fun invoke(data: List<T>): List<Slice<T>>
Link copied to clipboard
fun padAngle(value: Float): Pie<T>
Link copied to clipboard
fun startAngle(value: Float): Pie<T>
Link copied to clipboard
fun <T2> value(value: (T2) -> Float): Pie<T2>

Returns a new Pie which can compute a numeric value for complex data types.