大约有 244 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0074 秒)
...所有对象重新排序。值越大,越靠上。默认为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 Hide Inherited Protected Properties Show Inherited Protected Properties PropertyDefined By _anchorX : Number = NaNX锚点,值为0-1,设置anchorX值最终通过pivotX值来...
来源: Laya2.0_api 发布时间: 20190513
...所有对象重新排序。值越大,越靠上。默认为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 PropertyDefined By _anchorX : Number = NaNX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。View _anchorY : Number = NaNY锚点,值为...
来源: Laya2.0_api 发布时间: 20190513
...所有对象重新排序。值越大,越靠上。默认为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 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
...{ private socket: Laya.Socket; //组件被启用后执行,例如节点被添加到舞台后 onEnable(): void { this.socket = new Laya.Socket(); // 注册事件监听 this.socket.on(Laya.Event.OPEN, this, this.onSocketOpen); this.socket.on(Laya.Event.MESSAGE, this, this.onMessageReceived); this.soc...
来源: Laya3.0_文档 发布时间: 20251010
...a.ui.Button`包路径,加载资源,创建一个Button实例,将Button添加到舞台,设置Button组件的属性。具体实现参考下面的代码与注释。 **创建一个入口类ComponentDemo.as,编写如下代码:** ```java package { import laya.ui.Button; import laya.utils.Handle...
来源: Laya2.0_文档 发布时间: 20210715