Code example for Surface

Methods: unlockCanvasAndPost