object TextLayout
- Companion:
- class
Type members
Value members
Concrete methods
def apply(maxWidth: Option[Double], text: String, fontSize: RelFontSize)(implicit fc: FontConfiguration): TextLayout
factory method for text layouts
factory method for text layouts
Given an optional max width, complete text and a font size it computes the text layout, i.e. breaks the text into lines
It breaks lines on space, tab and newline characters.