大约有 70 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0054 秒)
...区域底边之间的垂直距离(以像素为单位)。 Component button : Button[read-only] 获取对 ComboBox 组件所包含的 Button 组件的引用。 ComboBox cacheAs : String 指定显示对象是否缓存为静态图像,cacheAs时,子对象发生变化,会自动重新缓存...
来源: laya_api 发布时间: 20170929
...们演示了继承自身组件Image所实现的效果,如果继承一个Button组件类会出现什么情况呢?我们来操作看下。代码以及实现效果如下所示: ```typescript export default class ImageRunTime extends Laya.Button{ constructor(){ super(); ... } ... ... ... ``` ; const urls = [ "resources/ui/button.png", "resources/ui/panel.png", "resources/ui/icon.png" ]; Laya.loader.load(urls).then(() => { atlasManager.addTexturesByUrl(urls); }); 2.3 移除纹理 移除指定纹理 //接口 removeTexture(textureId: number, l...
来源: Laya3.0_文档 发布时间: 20260131
...方法获取。设置为true,对性能有一定影响。 Sprite bar : Button[read-only] 表示滑块按钮的引用。 Slider blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以...
来源: Laya2.0_api 发布时间: 20190513