Class DrawContext : drawEllipsisText Method

void drawEllipsisText( Integer left, Integer top, Integer right, String text, String textColour )


Draw text with ellipsis if the text doesn't fit.


Ellipsis (...) are drawn when the text doesn't fit with the left and right coordinates.

The ellipsis itself will take some space and this will further reduce the display area available for the text.


Integer left Upper-left of where to start drawing.
Integer top Upper-left of where to start drawing.
Integer right Right-most position to draw up to.
String text Text you wish to draw.
String textColour Colour you wish to draw in.

See Also

  • DrawContext : selectFont


    build 1065