Slice

open class Slice(val fill: Fill = Fill.Black, val strokeFill: Fill = Fill.Transparent, val strokeThickness: Dp = 0.dp, val offsetFromCenter: Dp = 0.dp, val label: PieChart.SliceLabel? = null)

Defines the appearance of a pie slice.

Constructors

Link copied to clipboard
constructor(fill: Fill = Fill.Black, strokeFill: Fill = Fill.Transparent, strokeThickness: Dp = 0.dp, offsetFromCenter: Dp = 0.dp, label: PieChart.SliceLabel? = null)

Properties

Link copied to clipboard
val fill: Fill
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard

Functions

Link copied to clipboard
open fun copy(fill: Fill = this.fill, strokeFill: Fill = this.strokeFill, strokeThickness: Dp = this.strokeThickness, offsetFromCenter: Dp = this.offsetFromCenter, label: PieChart.SliceLabel? = this.label): PieChart.Slice