getHeight

abstract fun getHeight(context: MeasureContext, availableWidth: Float): Float

Returns the height of the legend.