Search
Preparing search index...
The search index is not available
DefinitelyTyped
Inherited
Private
Externals
Only exported
vg
Bounds
Class Bounds
Index
Properties
x1
x2
y1
y2
Methods
add
clear
contains
encloses
expand
height
intersects
rotate
round
set
translate
union
width
Properties
public
x1
:
number
public
x2
:
number
public
y1
:
number
public
y2
:
number
Methods
public
add
(
x
:
number
, y
:
number
)
:
Bounds
Parameters
x:
number
y:
number
Returns
Bounds
public
clear
(
)
:
Bounds
Returns
Bounds
public
contains
(
x
:
number
, y
:
number
)
:
boolean
Parameters
x:
number
y:
number
Returns
boolean
public
encloses
(
b
:
Bounds
)
:
boolean
Parameters
b:
Bounds
Returns
boolean
public
expand
(
d
:
number
)
:
Bounds
Parameters
d:
number
Returns
Bounds
public
height
(
)
:
number
Returns
number
public
intersects
(
b
:
Bounds
)
:
boolean
Parameters
b:
Bounds
Returns
boolean
public
rotate
(
angle
:
number
, x
:
number
, y
:
number
)
:
Bounds
Parameters
angle:
number
x:
number
y:
number
Returns
Bounds
public
round
(
)
:
Bounds
Returns
Bounds
public
set
(
x1
:
number
, y1
:
number
, x2
:
number
, y2
:
number
)
:
Bounds
Parameters
x1:
number
y1:
number
x2:
number
y2:
number
Returns
Bounds
public
translate
(
dx
:
number
, dy
:
number
)
:
Bounds
Parameters
dx:
number
dy:
number
Returns
Bounds
public
union
(
b
:
Bounds
)
:
Bounds
Parameters
b:
Bounds
Returns
Bounds
public
width
(
)
:
number
Returns
number
Globals
Vega
Vega.Runtime
vg
vg.scene
parse
Bounds
x1
x2
y1
y2
add
clear
contains
encloses
expand
height
intersects
rotate
round
set
translate
union
width