大约有 44 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0088 秒)
...所有对象重新排序。值越大,越靠上。默认为0,则根据添加顺序排序。 Returns number Inherited from Text.zOrder Defined in laya/display/Sprite.ts:1833 z排序,更改此值,则会按照值的大小对同一容器的所有对象重新排序。值越大,越靠上。默认...
来源: Laya3.0_api 发布时间: 20231115
...所有对象重新排序。值越大,越靠上。默认为0,则根据添加顺序排序。SpriteProtected Properties Hide Inherited Protected Properties Show Inherited Protected Properties PropertyDefined By _anchorX : Number = NaNX锚点,值为0-1,设置anchorX值最终通过pivotX值来...
来源: Laya2.0_api 发布时间: 20190513
...默认会把 "黑体" 映射为 "黑体-简",更多映射,可以自己添加Text fontSize : int 指定文本的字体大小(以像素为单位)。 默认为20像素,可以通过 Text.defaultFontSize 设置默认大小。 Text globalRotation : Number[read-only] 获得相对于stage的全...
来源: Laya2.0_api 发布时间: 20190513
...所有对象重新排序。值越大,越靠上。默认为0,则根据添加顺序排序。SpriteProtected Properties Hide Inherited Protected Properties Show Inherited Protected Properties PropertyDefined By measureHeight : Number[read-only] 显示对象的实际显示区域高度(以像素...
来源: laya_api 发布时间: 20170929
...所有对象重新排序。值越大,越靠上。默认为0,则根据添加顺序排序。SpriteProtected Properties Hide Inherited Protected Properties Show Inherited Protected Properties PropertyDefined By _anchorX : Number = NaNX锚点,值为0-1,设置anchorX值最终通过pivotX值来...
来源: Laya2.0_api 发布时间: 20190513
...所有对象重新排序。值越大,越靠上。默认为0,则根据添加顺序排序。SpriteProtected Properties PropertyDefined By measureHeight : Number[override] [read-only] 显示对象的实际显示区域高度(以像素为单位)。 Button measureWidth : Number[override] [r...
来源: laya_api 发布时间: 20170929
...所有对象重新排序。值越大,越靠上。默认为0,则根据添加顺序排序。SpriteProtected Properties Hide Inherited Protected Properties Show Inherited Protected Properties PropertyDefined By _anchorX : Number = NaNX锚点,值为0-1,设置anchorX值最终通过pivotX值来...
来源: Laya2.0_api 发布时间: 20190513
...,这里用的是这个地址。 新建个项目,把下载的qrcode.js添加到index.html中。qrcode的api请参考地址。具体的逻辑代码如下: var div:any = Laya.Browser.document.createElement("div"); this.qrcode = new Laya.Browser.window.QRCode(div,{ width:100, height:100 }); var ur...
来源: Laya3.0_文档 发布时间: 20251010
...行的处理器。 Laya.stage.addChild(comboBox);//将此 comboBox 对象添加到显示列表。 } private function onSelect(index:int):void { trace("当前选中的项对象索引: ",index); } } } example Laya.init(640, 800);//设置游戏画布宽高。 Laya.stage.bgColor = "#efefef";//设置...
来源: Laya3.0_api 发布时间: 20231115
...所有对象重新排序。值越大,越靠上。默认为0,则根据添加顺序排序。 Returns number Inherited from Text.zOrder Defined in laya/display/Sprite.ts:1833 z排序,更改此值,则会按照值的大小对同一容器的所有对象重新排序。值越大,越靠上。默认...
来源: Laya3.0_api 发布时间: 20231115