Search
Preparing search index...
The search index is not available
swimOS
Options
All
Public
Public/Protected
All
Inherited
Externals
Menu
Globals
@swim/math
R2Shape
Class R2Shape
Hierarchy
R2Shape
PointR2
SegmentR2
CircleR2
BoxR2
Implements
Shape
Index
Accessors
x
Max
x
Min
y
Max
y
Min
Methods
contains
intersects
transform
union
from
Any
Accessors
x
Max
get
xMax
(
)
:
number
Returns
number
x
Min
get
xMin
(
)
:
number
Returns
number
y
Max
get
yMax
(
)
:
number
Returns
number
y
Min
get
yMin
(
)
:
number
Returns
number
Methods
Abstract
contains
contains
(
that
:
AnyShape
)
:
boolean
contains
(
x
:
number
, y
:
number
)
:
boolean
Parameters
that:
AnyShape
Returns
boolean
Parameters
x:
number
y:
number
Returns
boolean
Abstract
intersects
intersects
(
that
:
AnyShape
)
:
boolean
Parameters
that:
AnyShape
Returns
boolean
Abstract
transform
transform
(
f
:
R2Function
)
:
R2Shape
Parameters
f:
R2Function
Returns
R2Shape
union
union
(
that
:
AnyR2Shape
)
:
R2Shape
Parameters
that:
AnyR2Shape
Returns
R2Shape
Static
from
Any
from
Any
(
shape
:
AnyR2Shape
)
:
R2Shape
Parameters
shape:
AnyR2Shape
Returns
R2Shape
Globals
@swim/core
@swim/codec
@swim/collections
@swim/dataflow
@swim/math
@swim/recon
@swim/streamlet
@swim/structure
@swim/time
@swim/uri
@swim/util
@swim/mesh
@swim/ui
@swim/ux
@swim/web
Box
R2
Circle
R2
Point
R2
R2
Shape
x
Max
x
Min
y
Max
y
Min
contains
intersects
transform
union
from
Any
Segment
R2
Vector
R2
Box
R2Init
Circle
R2Init
Point
R2Init
R2
Function
R2
Operator
Segment
R2Init
Shape
Vector
R2Init
Any
Box
R2
Any
Circle
R2
Any
Point
R2
Any
R2Shape
Any
Segment
R2
Any
Shape
Any
Vector
R2
Shape