Search
Preparing search index...
The search index is not available
swimOS
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Globals
@swim/render
PathContext
Class PathContext
Hierarchy
PathContext
Implements
DrawingContext
Index
Constructors
constructor
Methods
arc
arc
To
bezier
Curve
To
close
Path
line
To
move
To
quadratic
Curve
To
rect
to
String
Constructors
constructor
new
Path
Context
(
)
:
PathContext
Returns
PathContext
Methods
arc
arc
(
x
:
number
, y
:
number
, r
:
number
, a0
:
number
, a1
:
number
, ccw
?:
boolean
)
:
void
Parameters
x:
number
y:
number
r:
number
a0:
number
a1:
number
Default value
ccw:
boolean
= false
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
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
to
String
to
String
(
)
:
string
Returns
string
Globals
@swim/core
@swim/mesh
@swim/ui
@swim/angle
@swim/animate
@swim/color
@swim/constraint
@swim/dom
@swim/font
@swim/gesture
@swim/interpolate
@swim/length
@swim/render
@swim/scale
@swim/shape
@swim/style
@swim/transform
@swim/transition
@swim/typeset
@swim/view
@swim/ux
@swim/web
Path
Context
constructor
arc
arc
To
bezier
Curve
To
close
Path
line
To
move
To
quadratic
Curve
To
rect
to
String
Drawing
Context
Graphic
Rendering
Context