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
R2PathBuilder
Class R2PathBuilder
Hierarchy
R2PathBuilder
Implements
R2PathContext
Index
Constructors
constructor
Properties
builder
splines
Methods
arc
arc
To
bezier
Curve
To
bind
close
Path
ellipse
line
To
move
To
quadratic
Curve
To
rect
Constructors
constructor
new
R2Path
Builder
(
)
:
R2PathBuilder
Returns
R2PathBuilder
Properties
builder
builder
:
null
|
R2SplineBuilder
splines
splines
:
R2Spline
[]
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
(
)
:
R2Path
Returns
R2Path
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
Path
Builder
constructor
builder
splines
arc
arc
To
bezier
Curve
To
bind
close
Path
ellipse
line
To
move
To
quadratic
Curve
To
rect
Generated using
TypeDoc