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
Arc
Class Arc
Hierarchy
Arc
Implements
Graphics
Equals
Debug
Index
Constructors
constructor
Properties
center
corner
Radius
inner
Radius
outer
Radius
pad
Angle
pad
Radius
start
Angle
sweep
Angle
Epsilon
Methods
copy
debug
draw
equals
render
render
Arc
to
Any
to
String
with
Center
with
Corner
Radius
with
Inner
Radius
with
Outer
Radius
with
Pad
Angle
with
Pad
Radius
with
Start
Angle
with
Sweep
Angle
create
from
Any
Constructors
constructor
new
Arc
(
center
:
R2Point
, innerRadius
:
Length
, outerRadius
:
Length
, startAngle
:
Angle
, sweepAngle
:
Angle
, padAngle
:
Angle
, padRadius
:
null
|
Length
, cornerRadius
:
Length
)
:
Arc
Parameters
center:
R2Point
innerRadius:
Length
outerRadius:
Length
startAngle:
Angle
sweepAngle:
Angle
padAngle:
Angle
padRadius:
null
|
Length
cornerRadius:
Length
Returns
Arc
Properties
Readonly
center
center
:
R2Point
Readonly
corner
Radius
corner
Radius
:
Length
Readonly
inner
Radius
inner
Radius
:
Length
Readonly
outer
Radius
outer
Radius
:
Length
Readonly
pad
Angle
pad
Angle
:
Angle
Readonly
pad
Radius
pad
Radius
:
null
|
Length
Readonly
start
Angle
start
Angle
:
Angle
Readonly
sweep
Angle
sweep
Angle
:
Angle
Static
Epsilon
Epsilon
:
number
Methods
Protected
copy
copy
(
center
:
R2Point
, innerRadius
:
Length
, outerRadius
:
Length
, startAngle
:
Angle
, sweepAngle
:
Angle
, padAngle
:
Angle
, padRadius
:
null
|
Length
, cornerRadius
:
Length
)
:
Arc
Parameters
center:
R2Point
innerRadius:
Length
outerRadius:
Length
startAngle:
Angle
sweepAngle:
Angle
padAngle:
Angle
padRadius:
null
|
Length
cornerRadius:
Length
Returns
Arc
debug
debug
(
output
:
Output
<
unknown
>
)
:
void
Parameters
output:
Output
<
unknown
>
Returns
void
draw
draw
(
context
:
DrawingContext
, frame
?:
R2Box
)
:
void
Parameters
context:
DrawingContext
Optional
frame:
R2Box
Returns
void
equals
equals
(
that
:
unknown
)
:
boolean
Parameters
that:
unknown
Returns
boolean
render
render
(
)
:
string
render
(
renderer
:
GraphicsRenderer
, frame
?:
R2Box
)
:
void
Returns
string
Parameters
renderer:
GraphicsRenderer
Optional
frame:
R2Box
Returns
void
Protected
render
Arc
render
Arc
(
context
:
DrawingContext
, frame
:
undefined
|
R2Box
)
:
void
Parameters
context:
DrawingContext
frame:
undefined
|
R2Box
Returns
void
to
Any
to
Any
(
)
:
ArcInit
Returns
ArcInit
to
String
to
String
(
)
:
string
Returns
string
with
Center
with
Center
(
center
:
AnyR2Point
)
:
Arc
Parameters
center:
AnyR2Point
Returns
Arc
with
Corner
Radius
with
Corner
Radius
(
cornerRadius
:
AnyLength
)
:
Arc
Parameters
cornerRadius:
AnyLength
Returns
Arc
with
Inner
Radius
with
Inner
Radius
(
innerRadius
:
AnyLength
)
:
Arc
Parameters
innerRadius:
AnyLength
Returns
Arc
with
Outer
Radius
with
Outer
Radius
(
outerRadius
:
AnyLength
)
:
Arc
Parameters
outerRadius:
AnyLength
Returns
Arc
with
Pad
Angle
with
Pad
Angle
(
padAngle
:
AnyAngle
)
:
Arc
Parameters
padAngle:
AnyAngle
Returns
Arc
with
Pad
Radius
with
Pad
Radius
(
padRadius
:
null
|
AnyLength
)
:
Arc
Parameters
padRadius:
null
|
AnyLength
Returns
Arc
with
Start
Angle
with
Start
Angle
(
startAngle
:
AnyAngle
)
:
Arc
Parameters
startAngle:
AnyAngle
Returns
Arc
with
Sweep
Angle
with
Sweep
Angle
(
sweepAngle
:
AnyAngle
)
:
Arc
Parameters
sweepAngle:
AnyAngle
Returns
Arc
Static
create
create
(
center
?:
AnyR2Point
, innerRadius
?:
AnyLength
, outerRadius
?:
AnyLength
, startAngle
?:
AnyAngle
, sweepAngle
?:
AnyAngle
, padAngle
?:
AnyAngle
, padRadius
?:
null
|
AnyLength
, cornerRadius
?:
AnyLength
)
:
Arc
Parameters
Optional
center:
AnyR2Point
Optional
innerRadius:
AnyLength
Optional
outerRadius:
AnyLength
Optional
startAngle:
AnyAngle
Optional
sweepAngle:
AnyAngle
Optional
padAngle:
AnyAngle
Optional
padRadius:
null
|
AnyLength
Optional
cornerRadius:
AnyLength
Returns
Arc
Static
from
Any
from
Any
(
value
:
AnyArc
)
:
Arc
Parameters
value:
AnyArc
Returns
Arc
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
Arc
constructor
center
corner
Radius
inner
Radius
outer
Radius
pad
Angle
pad
Radius
start
Angle
sweep
Angle
Epsilon
copy
debug
draw
equals
render
render
Arc
to
Any
to
String
with
Center
with
Corner
Radius
with
Inner
Radius
with
Outer
Radius
with
Pad
Angle
with
Pad
Radius
with
Start
Angle
with
Sweep
Angle
create
from
Any
Generated using
TypeDoc