getHeight

abstract fun getHeight(context: M, maxWidth: Float): Float

Returns the height of the legend.