Bar Legend Item
data class BarLegendItem<UnitType : Dimension>(val colorScaleOptions: ColorScaleOptions, var labels: BarLegendLabels<UnitType>, val height: Dp = BarLegendDefaults.barHeight, val rounded: Boolean = BarLegendDefaults.rounded, val margins: Dp = BarLegendDefaults.barMargins)
Describes a single color bar rendered by BarLegend.
Constructors
Link copied to clipboard
constructor(colorScaleOptions: ColorScaleOptions, labels: BarLegendLabels<UnitType>, height: Dp = BarLegendDefaults.barHeight, rounded: Boolean = BarLegendDefaults.rounded, margins: Dp = BarLegendDefaults.barMargins)