Class: DrawContext


Canvas used for drawing


 clipPop Remove the most recent clipping rectangle used.
 clipPushRect Set a clipping rectangle
 drawEllipsisText Draw text with ellipsis if the text doesn't fit.
 drawText Draw some text using the currently selected font.
 fillRect Draw a solid filled rectangle
 getCurrentFontHeight Get the current font height in pixels
 measureText Measure some text and get the Size of it.
 selectFont Select a font to be used for all direct text drawing.

See Also

  • Image : draw