iink-ts - v4.0.0
Preparing search index...
BoxOps
Variable BoxOps
Const
BoxOps
:
{
contains
(
box
:
TBox
,
child
:
TBox
)
:
boolean
;
containsPoint
(
box
:
TBox
,
point
:
TPoint
)
:
boolean
;
createFromBoxes
(
boxes
:
TBox
[]
)
:
TBox
;
createFromPoints
(
points
:
TPoint
[]
)
:
TBox
;
getCenter
(
box
:
TBox
)
:
TPoint
;
getCorners
(
box
:
TBox
)
:
TPoint
[]
;
getSide
(
box
:
TBox
)
:
TPoint
[]
;
getSides
(
box
:
TBox
)
:
TSegment
[]
;
getSnapPoints
(
box
:
TBox
)
:
TPoint
[]
;
isContained
(
box
:
TBox
,
wrapper
:
TBox
)
:
boolean
;
overlaps
(
box1
:
TBox
,
box2
:
TBox
)
:
boolean
;
}
= ...
Type Declaration
contains
:
function
contains
(
box
:
TBox
,
child
:
TBox
)
:
boolean
Parameters
box
:
TBox
child
:
TBox
Returns
boolean
containsPoint
:
function
containsPoint
(
box
:
TBox
,
point
:
TPoint
)
:
boolean
Parameters
box
:
TBox
point
:
TPoint
Returns
boolean
createFromBoxes
:
function
createFromBoxes
(
boxes
:
TBox
[]
)
:
TBox
Parameters
boxes
:
TBox
[]
Returns
TBox
createFromPoints
:
function
createFromPoints
(
points
:
TPoint
[]
)
:
TBox
Parameters
points
:
TPoint
[]
Returns
TBox
getCenter
:
function
getCenter
(
box
:
TBox
)
:
TPoint
Parameters
box
:
TBox
Returns
TPoint
getCorners
:
function
getCorners
(
box
:
TBox
)
:
TPoint
[]
Parameters
box
:
TBox
Returns
TPoint
[]
getSide
:
function
getSide
(
box
:
TBox
)
:
TPoint
[]
Parameters
box
:
TBox
Returns
TPoint
[]
getSides
:
function
getSides
(
box
:
TBox
)
:
TSegment
[]
Parameters
box
:
TBox
Returns
TSegment
[]
getSnapPoints
:
function
getSnapPoints
(
box
:
TBox
)
:
TPoint
[]
Parameters
box
:
TBox
Returns
TPoint
[]
isContained
:
function
isContained
(
box
:
TBox
,
wrapper
:
TBox
)
:
boolean
Parameters
box
:
TBox
wrapper
:
TBox
Returns
boolean
overlaps
:
function
overlaps
(
box1
:
TBox
,
box2
:
TBox
)
:
boolean
Parameters
box1
:
TBox
box2
:
TBox
Returns
boolean
Settings
Member Visibility
Protected
Inherited
Alpha
Beta
Theme
OS
Light
Dark
iink-ts - v4.0.0
Loading...