Class DrawContext : drawEllipsisText Method


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

Summary

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


Remarks

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.


Parameters

ParameterDescription
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


    Requirements

    build 1065