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
Syntax
public static Paper Create(JsArray all, JsAction callback)
Parameters
all
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.
callback
Return Value
Type: SharpKit.Raphael.Paper
|