Search
Preparing search index...
The search index is not available
Swim Toolkit
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Swim Toolkit
@swim/math
R2SplineBuilder
Class R2SplineBuilder
Hierarchy
R2SplineBuilder
Implements
R2SplineContext
Index
Constructors
constructor
Properties
aliased
closed
curves
x
x0
y
y0
Methods
arc
arc
To
bezier
Curve
To
bind
close
Path
ellipse
line
To
move
To
quadratic
Curve
To
rect
Constructors
constructor
new
R2Spline
Builder
(
)
:
R2SplineBuilder
Returns
R2SplineBuilder
Properties
aliased
aliased
:
boolean
closed
closed
:
boolean
curves
curves
:
R2Curve
[]
x
x
:
number
x0
x0
:
number
y
y
:
number
y0
y0
:
number
Methods
arc
arc
(
cx
:
number
, cy
:
number
, r
:
number
, a0
:
number
, a1
:
number
, ccw
?:
boolean
)
:
void
Parameters
cx:
number
cy:
number
r:
number
a0:
number
a1:
number
Optional
ccw:
boolean
Returns
void
arc
To
arc
To
(
x1
:
number
, y1
:
number
, x2
:
number
, y2
:
number
, r
:
number
)
:
void
Parameters
x1:
number
y1:
number
x2:
number
y2:
number
r:
number
Returns
void
bezier
Curve
To
bezier
Curve
To
(
x1
:
number
, y1
:
number
, x2
:
number
, y2
:
number
, x
:
number
, y
:
number
)
:
void
Parameters
x1:
number
y1:
number
x2:
number
y2:
number
x:
number
y:
number
Returns
void
bind
bind
(
)
:
R2Spline
Returns
R2Spline
close
Path
close
Path
(
)
:
void
Returns
void
ellipse
ellipse
(
cx
:
number
, cy
:
number
, rx
:
number
, ry
:
number
, phi
:
number
, a0
:
number
, a1
:
number
, ccw
?:
boolean
)
:
void
Parameters
cx:
number
cy:
number
rx:
number
ry:
number
phi:
number
a0:
number
a1:
number
Optional
ccw:
boolean
Returns
void
line
To
line
To
(
x
:
number
, y
:
number
)
:
void
Parameters
x:
number
y:
number
Returns
void
move
To
move
To
(
x
:
number
, y
:
number
)
:
void
Parameters
x:
number
y:
number
Returns
void
quadratic
Curve
To
quadratic
Curve
To
(
x1
:
number
, y1
:
number
, x
:
number
, y
:
number
)
:
void
Parameters
x1:
number
y1:
number
x:
number
y:
number
Returns
void
rect
rect
(
x
:
number
, y
:
number
, w
:
number
, h
:
number
)
:
void
Parameters
x:
number
y:
number
w:
number
h:
number
Returns
void
Modules
@swim/system
@swim/core
@swim/util
@swim/codec
@swim/mapping
@swim/collections
@swim/constraint
@swim/structure
@swim/streamlet
@swim/dataflow
@swim/recon
@swim/uri
@swim/math
@swim/geo
@swim/time
@swim/mesh
@swim/toolkit
R2
Spline
Builder
constructor
aliased
closed
curves
x
x0
y
y0
arc
arc
To
bezier
Curve
To
bind
close
Path
ellipse
line
To
move
To
quadratic
Curve
To
rect
Generated using
TypeDoc