BarLegendItem

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)

Properties

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
val height: Dp
Link copied to clipboard
Link copied to clipboard
val margins: Dp
Link copied to clipboard