Cocos Creator
Manual
API Ref
Cocos2d-x
Manual
API Ref
Version: 3.2
Version: 3.5
Version: 3.4
Version: 3.3
Version: 3.1
Version: 3.0
Version: 2.4
Version: 2.3
Version: 2.2
Version: 2.1
Version: 2.0
Version: 1.10
Version: 1.9
Search
Preparing search index...
The search index is not available
CocosCreatorAPI
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
gfx
Extent
Class Extent
Hierarchy
Extent
Index
Constructors
constructor
Properties
_token
depth
height
width
Constructors
constructor
new
Extent
(
width
?:
number
, height
?:
number
, depth
?:
number
)
:
Extent
Parameters
Default value
width:
number
= 0
Default value
height:
number
= 0
Default value
depth:
number
= 1
Returns
Extent
Properties
Private
_token
_token
:
never
depth
depth
:
number
height
height
:
number
width
width
:
number
Globals
gfx
Extent
constructor
_token
depth
height
width
Generated using
TypeDoc