Label Position Provider
interface LabelPositionProvider
This interface is implemented to provide specific layout algorithms for positioning of Pie Slice labels around the outside of the Pie.
Inheritors
Functions
Link copied to clipboard
abstract fun computeLabelPositions(pieDiameter: Float, holeSize: Float, placeables: List<Placeable>, pieSliceData: List<PieSliceData>): List<LabelPosition>
Computes ExternalLabelPosition for every pie slice for a given pieDiameter and list of label placeables.