Code example for Surface

Methods: lockCanvasunlockCanvasAndPost