Clear Up
SharpKit Reference

Raphael.angle Method (JsNumber, JsNumber, JsNumber, JsNumber, JsNumber, JsNumber)

Returns angle between two or three points

Namespace: SharpKit.Raphael

Class: Raphael

Syntax

public static JsNumber angle(JsNumber x1, JsNumber y1, JsNumber x2, JsNumber y2, JsNumber x3, JsNumber y3)

Parameters

x1
Type: SharpKit.JavaScript.JsNumber
x coord of first point
y1
Type: SharpKit.JavaScript.JsNumber
y coord of first point
x2
Type: SharpKit.JavaScript.JsNumber
x coord of second point
y2
Type: SharpKit.JavaScript.JsNumber
y coord of second point
x3
Type: SharpKit.JavaScript.JsNumber
x coord of third point
y3
Type: SharpKit.JavaScript.JsNumber
y coord of third point

Return Value

Type: SharpKit.JavaScript.JsNumber
angle in degrees.
© Copyright 2005-2011 SharpKit. All rights reserved.