大约有 494 项符合查询结果, 库内数据总量为 30,937 项。 (搜索耗时: 0.0098 秒)
...所有对象重新排序。值越大,越靠上。默认为0,则根据添加顺序排序。SpriteProtected Properties Hide Inherited Protected Properties Show Inherited Protected Properties PropertyDefined By measureHeight : Number[read-only] 显示对象的实际显示区域高度(以像素...
来源: laya_api 发布时间: 20170929
...旋转,缩放,位移等操作。Sprite同时也是容器类,可用来添加多个子节点。 注意: Sprite 默认没有宽高,可以通过getBounds函数获取;也可手动设置宽高;还可以设置autoSize=true,然后再获取宽高。Sprite的宽高一般用于进行碰撞检...
来源: Laya2.0_api 发布时间: 20190513
...所有对象重新排序。值越大,越靠上。默认为0,则根据添加顺序排序。SpriteProtected Properties Hide Inherited Protected Properties Show Inherited Protected Properties PropertyDefined By measureHeight : Number[override] [read-only] 显示对象的实际显示区域高度...
来源: laya_api 发布时间: 20170929
...所有对象重新排序。值越大,越靠上。默认为0,则根据添加顺序排序。SpritePublic Methods Hide Inherited Public Methods Show Inherited Public Methods MethodDefined By Scene3D() 创建一个 Scene3D 实例。 Scene3D _parse(data:Object, spriteMap:Object):void[override]...
来源: Laya2.0_api 发布时间: 20190513
...所有对象重新排序。值越大,越靠上。默认为0,则根据添加顺序排序。SpriteProtected Properties PropertyDefined By measureHeight : Number[override] [read-only] 显示对象的实际显示区域高度(以像素为单位)。 Label measureWidth : Number[override] [re...
来源: laya_api 发布时间: 20170929
...所有对象重新排序。值越大,越靠上。默认为0,则根据添加顺序排序。SpriteProtected Properties Hide Inherited Protected Properties Show Inherited Protected Properties PropertyDefined By measureHeight : Number[override] [read-only] 显示对象的实际显示区域高度...
来源: laya_api 发布时间: 20170929
... 改变选择项执行的处理器。 Laya.stage.addChild(list);//将 list 添加到显示列表。 } private function onSelect(index:int):void { trace("当前选择的项目索引: index= ", index); } } } import laya.ui.Box; import laya.ui.Label; class Item extends Box { public function Item() { ...
来源: Laya3.0_api 发布时间: 20231115
...所有对象重新排序。值越大,越靠上。默认为0,则根据添加顺序排序。SpriteProtected Properties Hide Inherited Protected Properties Show Inherited Protected Properties PropertyDefined By measureHeight : Number[read-only] 显示对象的实际显示区域高度(以像素...
来源: laya_api 发布时间: 20170929
...所有对象重新排序。值越大,越靠上。默认为0,则根据添加顺序排序。 Returns number Inherited from Text.zOrder Defined in laya/display/Sprite.ts:1833 z排序,更改此值,则会按照值的大小对同一容器的所有对象重新排序。值越大,越靠上。默认...
来源: Laya3.0_api 发布时间: 20231115
...事件处理器。 Laya.stage.addChild(checkBox);//将此 checkBox 对象添加到显示列表。 } private function onClick(checkBox:CheckBox):void { trace("输出选中状态: checkBox.selected = " + checkBox.selected); } } } example Laya.init(640, 800);//设置游戏画布宽高 Laya.stage.bgColo...
来源: Laya3.0_api 发布时间: 20231115