setLabelMaxWidth

open fun setLabelMaxWidth(width: Int): MPDisplayRuleOptions

Set the max width for label text (in dp). If label text exceeds this width when rendered, the text will wrap onto a new line.

Parameters

width

label text width limit in dp