Clear Up
SharpKit Reference

Raphael.Create Method (JsArray, JsAction)

Creates a canvas object on which to draw. You must do this first, as all future calls to drawing methods from this instance will be bound to this canvas.

Namespace: SharpKit.Raphael

Class: Raphael


public static Paper Create(JsArray all, JsAction callback)


Type: SharpKit.JavaScript.JsArray
(first 3 or 4 elements in the array are equal to [containerID, width, height] or [x, y, width, height]. The rest are element descriptions in format {type: type, [attributes]}). See Paper.add.
Type: SharpKit.JavaScript.JsAction
callback function which is going to be executed in the context of newly created paper

Return Value

Type: SharpKit.Raphael.Paper
© Copyright 2005-2011 SharpKit. All rights reserved.