Clear Up
SharpKit Reference

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
Type: SharpKit.JavaScript.JsNumber
x coordinate position
y
Type: SharpKit.JavaScript.JsNumber
y coordinate position
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!");
            
© Copyright 2005-2011 SharpKit. All rights reserved.