Search
Preparing search index...
The search index is not available
swimOS
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Globals
@swim/shape
Arc
Class Arc
Hierarchy
Arc
Implements
Graphic
Equals
Debug
Index
Constructors
constructor
Methods
copy
corner
Radius
debug
delta
Angle
equals
inner
Radius
outer
Radius
pad
Angle
pad
Radius
render
start
Angle
to
Any
to
String
from
from
Any
Constructors
constructor
new
Arc
(
innerRadius
:
Length
, outerRadius
:
Length
, startAngle
:
Angle
, deltaAngle
:
Angle
, padAngle
:
Angle
, padRadius
:
Length
|
null
, cornerRadius
:
Length
)
:
Arc
Parameters
innerRadius:
Length
outerRadius:
Length
startAngle:
Angle
deltaAngle:
Angle
padAngle:
Angle
padRadius:
Length
|
null
cornerRadius:
Length
Returns
Arc
Methods
Protected
copy
copy
(
innerRadius
:
Length
, outerRadius
:
Length
, startAngle
:
Angle
, deltaAngle
:
Angle
, padAngle
:
Angle
, padRadius
:
Length
|
null
, cornerRadius
:
Length
)
:
Arc
Parameters
innerRadius:
Length
outerRadius:
Length
startAngle:
Angle
deltaAngle:
Angle
padAngle:
Angle
padRadius:
Length
|
null
cornerRadius:
Length
Returns
Arc
corner
Radius
corner
Radius
(
)
:
Length
corner
Radius
(
cornerRadius
:
AnyLength
)
:
Arc
Returns
Length
Parameters
cornerRadius:
AnyLength
Returns
Arc
debug
debug
(
output
:
Output
)
:
void
Parameters
output:
Output
Returns
void
delta
Angle
delta
Angle
(
)
:
Angle
delta
Angle
(
deltaAngle
:
AnyAngle
)
:
Arc
Returns
Angle
Parameters
deltaAngle:
AnyAngle
Returns
Arc
equals
equals
(
that
:
unknown
)
:
boolean
Parameters
that:
unknown
Returns
boolean
inner
Radius
inner
Radius
(
)
:
Length
inner
Radius
(
innerRadius
:
AnyLength
)
:
Arc
Returns
Length
Parameters
innerRadius:
AnyLength
Returns
Arc
outer
Radius
outer
Radius
(
)
:
Length
outer
Radius
(
outerRadius
:
AnyLength
)
:
Arc
Returns
Length
Parameters
outerRadius:
AnyLength
Returns
Arc
pad
Angle
pad
Angle
(
)
:
Angle
pad
Angle
(
padAngle
:
AnyAngle
)
:
Arc
Returns
Angle
Parameters
padAngle:
AnyAngle
Returns
Arc
pad
Radius
pad
Radius
(
)
:
Length
|
null
pad
Radius
(
padRadius
:
AnyLength
|
null
)
:
Arc
Returns
Length
|
null
Parameters
padRadius:
AnyLength
|
null
Returns
Arc
render
render
(
)
:
string
render
(
context
:
DrawingContext
, bounds
?:
BoxR2
, anchor
?:
PointR2
)
:
void
Returns
string
Parameters
context:
DrawingContext
Optional
bounds:
BoxR2
Optional
anchor:
PointR2
Returns
void
start
Angle
start
Angle
(
)
:
Angle
start
Angle
(
startAngle
:
AnyAngle
)
:
Arc
Returns
Angle
Parameters
startAngle:
AnyAngle
Returns
Arc
to
Any
to
Any
(
)
:
ArcInit
Returns
ArcInit
to
String
to
String
(
)
:
string
Returns
string
Static
from
from
(
innerRadius
?:
AnyLength
, outerRadius
?:
AnyLength
, startAngle
?:
AnyAngle
, deltaAngle
?:
AnyAngle
, padAngle
?:
AnyAngle
, padRadius
?:
AnyLength
|
null
, cornerRadius
?:
AnyLength
)
:
Arc
Parameters
Default value
innerRadius:
AnyLength
= Length.zero()
Default value
outerRadius:
AnyLength
= Length.zero()
Default value
startAngle:
AnyAngle
= Angle.zero()
Default value
deltaAngle:
AnyAngle
= Angle.zero()
Default value
padAngle:
AnyAngle
= Angle.zero()
Default value
padRadius:
AnyLength
|
null
= null
Default value
cornerRadius:
AnyLength
= Length.zero()
Returns
Arc
Static
from
Any
from
Any
(
arc
:
AnyArc
)
:
Arc
Parameters
arc:
AnyArc
Returns
Arc
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
Arc
constructor
copy
corner
Radius
debug
delta
Angle
equals
inner
Radius
outer
Radius
pad
Angle
pad
Radius
render
start
Angle
to
Any
to
String
from
from
Any
Arc
View
Rect
Rect
View
Arc
Init
Arc
View
Init
Rect
Init
Rect
View
Init
Any
Arc
Any
Arc
View
Any
Rect
Any
Rect
View