Paper.text Method (JsNumber, JsNumber, string)
Draws a text string. If you need line breaks, put “\n” in the string.
Namespace: SharpKit.Raphael
Class: Paper
Syntax
public Element text(JsNumber x, JsNumber y, string text)
Parameters
x
y
text
Type: System.String
The text string to draw
Return Value
Type: SharpKit.Raphael.Element
Raphaël element object with type “text”
Examples
usage
var t = paper.text(50, 50, "Raphaël\nkicks\nbutt!");
|