大约有 1,848 项符合查询结果, 库内数据总量为 31,625 项。 (搜索耗时: 0.0088 秒)
...面的代码: onAwake(): void { // Button添加鼠标事件,让Image不显示 this.Button.on( Laya.Event.MOUSE_DOWN, this, ()=>{ this.Image.visible = false; }); } 运行此场景来看看效果,如动图2-7所示。 (动图2-7) UI组件脚本就已经介绍完了,再复杂的UI都可...
来源: Laya3.0_文档 发布时间: 20251010
...间的垂直距离(以像素为单位)。 View cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自动重新缓存,同时也可以手动调用reCache方法更新缓存。 建议把不经常变化的“复杂内容”缓存为静态图像...
来源: Laya2.0_api 发布时间: 20190513
...和最大值之间特定间隔内的值。滑块还可以使用数据提示显示其当前值。 See alsolaya.ui.HSliderlaya.ui.VSliderPublic Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By allowClickBack : Boolean 一个布尔值,指定是否允...
来源: laya_api 发布时间: 20170929
...456";//设置皮肤对应的内容,空格换行。此皮肤为2行5列(显示时skin会被等分为2行5列),第一行对应的文字为"abc123",第二行为"456" fontClip.value = "a1326";//显示"a1326"文字 Public Properties Hide Inherited Public Properties Show Inherited Public Propert...
来源: Laya2.0_api 发布时间: 20190513
...式的时候,设置为自动横屏,否则画布之外的部分是不被显示的。fixedheight模式示例拉伸适配全屏效果如图5所示:  (图5)画布宽高为`360*640`,物理宽高为`750*1334`的fixedheight模式运行效果 **fixedheight模式示...
来源: Laya2.0_文档 发布时间: 20200307
...和最大值之间特定间隔内的值。滑块还可以使用数据提示显示其当前值。 See alsolaya.ui.HSliderlaya.ui.VSliderPublic Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInH...
来源: Laya2.0_api 发布时间: 20190513
...(以像素为单位)。 Component cacheAs : String[override] 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自动重新缓存,同时也可以手动调用reCache方法更新缓存。 建议把不经常变化的“复杂内容”缓存为静态图像...
来源: laya_api 发布时间: 20170929
...式的时候,设置为自动横屏,否则画布之外的部分是不被显示的。fixedheight模式示例拉伸适配全屏效果如图5所示:  (图5)画布宽高为`360*640`,物理宽高为`750*1334`的fixedheight模式运行效果 **fixedheight模式示...
来源: Laya2.0_文档 发布时间: 20200307
...以像素为单位)。 UIComponent cacheAs : String[override] 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自动重新缓存,同时也可以手动调用reCache方法更新缓存。 建议把不经常变化的“复杂内容”缓存为静态图像...
来源: Laya2.0_api 发布时间: 20190513
...bel UIComponent Sprite Node EventDispatcher Object TextArea 类用于创建显示对象以显示和输入文本。 Public Properties Hide Inherited Public Properties Show Inherited Public Properties PropertyDefined By active : Boolean 获取自身是否激活。 Node activeInHierarchy : Boolean[r...
来源: Laya2.0_api 发布时间: 20190513