Code example for Canvas

Methods: drawPaint, drawRect