Code example for Canvas

Methods: drawRoundRect, restore, saveLayer