PDF Web Viewer
Preparing search index...
index
QuadModel
Class QuadModel
Index
Constructors
constructor
Properties
bl
br
tl
tr
Methods
bottom_
center
bottom_
left
bottom_
right
center_
left
center_
right
contains
Point
copy
get
Bound
get
Center
has
Intersection
Quad
has
Intersection
Rect
is
Equal
is
Rect
is
Rectangle
offset
to
Array
top_
center
top_
left
top_
right
empty
from
Points
from
Rect
Constructors
constructor
new
QuadModel
(
tl
:
PointModel
,
tr
:
PointModel
,
bl
:
PointModel
,
br
:
PointModel
,
)
:
QuadModel
Parameters
tl
:
PointModel
tr
:
PointModel
bl
:
PointModel
br
:
PointModel
Returns
QuadModel
Properties
bl
bl
:
PointModel
br
br
:
PointModel
tl
tl
:
PointModel
tr
tr
:
PointModel
Methods
bottom_
center
bottom_center
()
:
PointModel
Returns
PointModel
bottom_
left
bottom_left
()
:
PointModel
Returns
PointModel
bottom_
right
bottom_right
()
:
PointModel
Returns
PointModel
center_
left
center_left
()
:
PointModel
Returns
PointModel
center_
right
center_right
()
:
PointModel
Returns
PointModel
contains
Point
containsPoint
(
point
:
PointModel
)
:
boolean
Parameters
point
:
PointModel
Returns
boolean
copy
copy
()
:
QuadModel
Returns
QuadModel
get
Bound
getBound
()
:
RectModel
Returns
RectModel
get
Center
getCenter
()
:
PointModel
Returns
PointModel
has
Intersection
Quad
hasIntersectionQuad
(
quad
:
QuadModel
)
:
boolean
Parameters
quad
:
QuadModel
Returns
boolean
has
Intersection
Rect
hasIntersectionRect
(
rect
:
RectModel
)
:
boolean
Parameters
rect
:
RectModel
Returns
boolean
is
Equal
isEqual
(
that
:
QuadModel
)
:
boolean
Parameters
that
:
QuadModel
Returns
boolean
is
Rect
isRect
()
:
boolean
Returns
boolean
is
Rectangle
isRectangle
()
:
boolean
Returns
boolean
offset
offset
(
dx
:
number
,
dy
:
number
)
:
void
Parameters
dx
:
number
dy
:
number
Returns
void
to
Array
toArray
()
:
number
[]
Returns
number
[]
top_
center
top_center
()
:
PointModel
Returns
PointModel
top_
left
top_left
()
:
PointModel
Returns
PointModel
top_
right
top_right
()
:
PointModel
Returns
PointModel
Static
empty
empty
()
:
QuadModel
Returns
QuadModel
Static
from
Points
fromPoints
(
tl
:
PointModel
,
tr
:
PointModel
,
bl
:
PointModel
,
br
:
PointModel
,
)
:
QuadModel
Parameters
tl
:
PointModel
tr
:
PointModel
bl
:
PointModel
br
:
PointModel
Returns
QuadModel
Static
from
Rect
fromRect
(
rect
:
RectModel
)
:
QuadModel
Parameters
rect
:
RectModel
Returns
QuadModel
Settings
Member Visibility
Inherited
External
Theme
OS
Light
Dark
On This Page
Constructors
constructor
Properties
bl
br
tl
tr
Methods
bottom_
center
bottom_
left
bottom_
right
center_
left
center_
right
contains
Point
copy
get
Bound
get
Center
has
Intersection
Quad
has
Intersection
Rect
is
Equal
is
Rect
is
Rectangle
offset
to
Array
top_
center
top_
left
top_
right
empty
from
Points
from
Rect
PDF Web Viewer
Loading...