Raphael.Create Method (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(JsAction onReadyCallback)
Parameters
onReadyCallback
Type: SharpKit.JavaScript.JsAction
function that is going to be called on DOM ready event. You can also subscribe to this event via Eve’s “DOMLoad” event. In this case method returns undefined.
Return Value
Type: SharpKit.Raphael.Paper
|