Search
Preparing search index...
The search index is not available
swimOS
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Globals
@swim/shape
Rect
Class Rect
Hierarchy
Rect
Implements
Graphic
Equals
Debug
Index
Constructors
constructor
Methods
copy
debug
equals
height
render
to
Any
to
String
width
x
y
from
from
Any
Constructors
constructor
new
Rect
(
x
:
Length
, y
:
Length
, width
:
Length
, height
:
Length
)
:
Rect
Parameters
x:
Length
y:
Length
width:
Length
height:
Length
Returns
Rect
Methods
Protected
copy
copy
(
x
:
Length
, y
:
Length
, width
:
Length
, height
:
Length
)
:
Rect
Parameters
x:
Length
y:
Length
width:
Length
height:
Length
Returns
Rect
debug
debug
(
output
:
Output
)
:
void
Parameters
output:
Output
Returns
void
equals
equals
(
that
:
unknown
)
:
boolean
Parameters
that:
unknown
Returns
boolean
height
height
(
)
:
Length
height
(
height
:
AnyLength
)
:
Rect
Returns
Length
Parameters
height:
AnyLength
Returns
Rect
render
render
(
)
:
string
render
(
context
:
DrawingContext
)
:
void
Returns
string
Parameters
context:
DrawingContext
Returns
void
to
Any
to
Any
(
)
:
RectInit
Returns
RectInit
to
String
to
String
(
)
:
string
Returns
string
width
width
(
)
:
Length
width
(
width
:
AnyLength
)
:
Rect
Returns
Length
Parameters
width:
AnyLength
Returns
Rect
x
x
(
)
:
Length
x
(
x
:
AnyLength
)
:
Rect
Returns
Length
Parameters
x:
AnyLength
Returns
Rect
y
y
(
)
:
Length
y
(
y
:
AnyLength
)
:
Rect
Returns
Length
Parameters
y:
AnyLength
Returns
Rect
Static
from
from
(
x
:
AnyLength
, y
:
AnyLength
, width
:
AnyLength
, height
:
AnyLength
)
:
Rect
Parameters
x:
AnyLength
y:
AnyLength
width:
AnyLength
height:
AnyLength
Returns
Rect
Static
from
Any
from
Any
(
rect
:
AnyRect
)
:
Rect
Parameters
rect:
AnyRect
Returns
Rect
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
Arc
View
Rect
constructor
copy
debug
equals
height
render
to
Any
to
String
width
x
y
from
from
Any
Rect
View
Arc
Init
Arc
View
Init
Rect
Init
Rect
View
Init
Any
Arc
Any
Arc
View
Any
Rect
Any
Rect
View