Clear Up
SharpKit Reference

Raphael.animation Method (object, JsNumber, string, JsAction)

Creates an animation object that can be passed to the Element.animate or Element.animateWith methods. See also Animation.delay and Animation.repeat methods.

Namespace: SharpKit.Raphael

Class: Raphael

Syntax

public static object animation(object params, JsNumber ms, string easing, JsAction callback)

Parameters

params
Type: System.Object
final attributes for the element, see also Element.attr
ms
Type: SharpKit.JavaScript.JsNumber
number of milliseconds for animation to run
easing
Type: System.String
easing type. Accept one of Raphael.easing_formulas or CSS format: cubic‐bezier(XX, XX, XX, XX)
callback
Type: SharpKit.JavaScript.JsAction
callback function. Will be called at the end of animation.

Return Value

Type: System.Object
Animation
© Copyright 2005-2011 SharpKit. All rights reserved.