Search
Preparing search index...
The search index is not available
Swim Toolkit
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Swim Toolkit
@swim/graphics
DrawingContext
Interface DrawingContext
Hierarchy
GraphicsContext
R2PathContext
DrawingContext
PaintingContext
Implemented by
PathContext
Index
Methods
arc
arc
To
bezier
Curve
To
close
Path
ellipse
line
To
move
To
quadratic
Curve
To
rect
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
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/toolkit
@swim/ui
@swim/model
@swim/style
@swim/theme
@swim/view
@swim/dom
@swim/graphics
@swim/component
@swim/ux
@swim/vis
@swim/maps
Drawing
Context
arc
arc
To
bezier
Curve
To
close
Path
ellipse
line
To
move
To
quadratic
Curve
To
rect
Generated using
TypeDoc