Cocos Creator
手册文档
API 参考
Cocos Creator 3D
手册文档
API 参考
Cocos2d-x
手册文档
API 参考
Version: 1.2
Version: 1.0
Version: 1.1
Version: 1.2
Search
Preparing search index...
The search index is not available
Creator3dAPI
Options
All
Public
Public/Protected
All
Inherited
Externals
Only exported
Menu
Globals
gfx
GFXRect
Class GFXRect
Hierarchy
GFXRect
Index
Constructors
constructor
Properties
height
width
x
y
Constructors
constructor
newGFXRect
(
x
?:
number
, y
?:
number
, width
?:
number
, height
?:
number
)
:
GFXRect
Parameters
Default value
x:
number
= 0
Default value
y:
number
= 0
Default value
width:
number
= 1
Default value
height:
number
= 1
Returns
GFXRect
Properties
height
height
:
number
width
width
:
number
x
x
:
number
y
y
:
number
Globals
gfx
GFXRect
constructor
height
width
x
y
Generated using
TypeDoc