new CurveObj(point1, point2, params)
Abstract class for curves (applied as internal forces, deflection etc.)
This:
Parameters:
Name |
Type |
Argument |
Description |
point1 |
RaphaelTools.Point2d
|
|
first point of curve |
point2 |
RaphaelTools.Point2d
|
|
second point of curve |
params |
Object
|
<optional>
|
parameters, see below
Properties
Name |
Type |
Argument |
Description |
scale |
number
|
<optional>
|
=1.] scale scale between passed value and drawn value in pixels |
closedBegin |
boolean
|
<optional>
|
=true] if point1 is connected with appropriate value of curve |
closedEnd |
boolean
|
<optional>
|
=true] if point2 is connected with appropriate value of curve |
closedBase |
boolean
|
<optional>
|
=true] if point1 and point2 are connected within the curve definition |
|
Properties:
Name |
Type |
Description |
point1 |
Point2d
|
1st point |
point2 |
Point2d
|
2nd point |
scale |
number
|
scale scale between passed value and drawn value in pixels |
closedBegin |
boolean
|
if point1 is connected with appropriate value of curve |
closedEnd |
boolean
|
if point2 is connected with appropriate value of curve |
closedBase |
boolean
|
if point1 and point2 are connected within the curve definition |
- Source:
-
/var/www/html/software/raphaelsm/raphaelsm.src.js, line 635