|
|
|
@@ -139,14 +139,16 @@ public: |
|
|
|
|
|
|
|
This will break the text onto a new line where there's a new-line or
|
|
|
|
carriage-return character, or at a word-boundary when the text becomes wider
|
|
|
|
than the size specified by the maximumLineWidth parameter.
|
|
|
|
than the size specified by the maximumLineWidth parameter. New-lines
|
|
|
|
will be vertically separated by the specified leading.
|
|
|
|
|
|
|
|
@see setFont, drawSingleLineText, drawFittedText, GlyphArrangement::addJustifiedText
|
|
|
|
*/
|
|
|
|
void drawMultiLineText (const String& text,
|
|
|
|
int startX, int baselineY,
|
|
|
|
int maximumLineWidth,
|
|
|
|
Justification justification = Justification::left) const;
|
|
|
|
Justification justification = Justification::left,
|
|
|
|
float leading = 0.0f) const;
|
|
|
|
|
|
|
|
/** Draws a line of text within a specified rectangle.
|
|
|
|
|
|
|
|
|