Class Index | File Index

Classes


Class LinearCurve

represents linear curve
Defined in: raphaelsm.src.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
LinearCurve(raphael, point1, point2, params)
Linear curve (e.g.
Field Summary
Field Attributes Field Name and Description
 
if point1 and point2 are connected within the curve definition
 
if point1 is connected with appropriate value of curve
 
if point2 is connected with appropriate value of curve
 
obj
pointer to actual raphael object
 
1st point
 
2nd point
 
raphael instance
 
scale scale between passed value and drawn value in pixels
 
value in 1st point
 
value in 2nd point
Method Summary
Method Attributes Method Name and Description
 
constructorLinearCurve(raphael, point1, point2, params)
Constructor, see LinearCurve for parameters description
 
Sets function constants
<static>  
LinearCurve.create(raphael, point1, point2, params)
Creates new LinearCurve object, for parameters meaning see LinearCurve
 
Sets svg path list
 
setVals(val1, val2)
Sets values of receiver
 
up()
Update
Class Detail
LinearCurve(raphael, point1, point2, params)
Linear curve (e.g. shear force line)
Parameters:
{Raphael} raphael
raphael instance
{Point2d} point1
1st point
{Point2d} point2
2nd point
{Object} params
parameters, see below
{float} param.val1 Optional, Default: 0.
value in 1st point
{float} param.val2 Optional, Default: 0.
value in 2nd point
{float} param.scale Optional, Default: 1.
scale factor
{bool} param.closedBegin Optional, Default: true
the line conecting 1st point with 1st nodal value
{bool} param.closedEnd Optional, Default: true
the line conecting 2nd point with 2nd nodal value
{bool} param.closedBase Optional, Default: true
the line conecting 1st and 2nd point
Field Detail
{bool} closedBase
if point1 and point2 are connected within the curve definition

{bool} closedBegin
if point1 is connected with appropriate value of curve

{bool} closedEnd
if point2 is connected with appropriate value of curve

{Raphael.el} obj
pointer to actual raphael object

{Point2d} point1
1st point

{Point2d} point2
2nd point

{Raphael} raphael
raphael instance

{float} scale
scale scale between passed value and drawn value in pixels

{float} val1
value in 1st point

{float} val2
value in 2nd point
Method Detail
constructorLinearCurve(raphael, point1, point2, params)
Constructor, see LinearCurve for parameters description
Parameters:
raphael
point1
point2
params

consts()
Sets function constants

<static> {LinearCurve} LinearCurve.create(raphael, point1, point2, params)
Creates new LinearCurve object, for parameters meaning see LinearCurve
Parameters:
raphael
point1
point2
params
Returns:
{LinearCurve} new LinearCurve object

setPathList()
Sets svg path list

setVals(val1, val2)
Sets values of receiver
Parameters:
{float} val1
value in 1st point
{float} val2
value in 2nd point

up()
Update

Documentation generated by JsDoc Toolkit 2.4.0 on Sun Oct 23 2011 11:05:56 GMT+0200 (CEST)