Clear Up
SharpKit Reference

Paper.image Method (string, JsNumber, JsNumber, JsNumber, JsNumber)

Embeds an image into the surface.

Namespace: SharpKit.Raphael

Class: Paper

Syntax

public Element image(string src, JsNumber x, JsNumber y, JsNumber width, JsNumber height)

Parameters

src
Type: System.String
URI of the source image
x
Type: SharpKit.JavaScript.JsNumber
x coordinate position
y
Type: SharpKit.JavaScript.JsNumber
y coordinate position
width
Type: SharpKit.JavaScript.JsNumber
width of the image
height
Type: SharpKit.JavaScript.JsNumber
height of the image

Return Value

Type: SharpKit.Raphael.Element
Raphaël element object with type “image”

Examples

usage
var c = paper.image("apple.png", 10, 10, 80, 80);
            
© Copyright 2005-2011 SharpKit. All rights reserved.