Code example for Canvas

Methods: drawLine, drawRect, drawText, getClipBounds