大约有 196 项符合查询结果, 库内数据总量为 30,723 项。 (搜索耗时: 0.0060 秒)
Laya3.0_api(61) Laya2.0_api(59) laya_api(53) Laya_社区(11) Laya2.0_文档(6) Laya3.0_文档(5) Laya2.0_示例(1)
...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite bgColor : String 文本背景颜色,以字符串表示。 Label blendMode : String指定要使用的混合...
来源: laya_api 发布时间: 20170929
...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显...
来源: laya_api 发布时间: 20170929
... 每次切换都要从资源列表找场景动画状态机不知道怎么设置每个单独动画切片的循环播放 默认是按整个动画的循环label无法随内容扩充size现在runtime只能继承她的base类 没办法统一管理Ui界面了 如果我让base去继承管理类会被系...
来源: Laya_社区 发布时间: 20230515
...为要滑动) class TextUI extends ui.TestUI { constructor() { super(); //设置可滚动 this.container.vScrollBarSkin = ''; this.init(); } private init() { for (var i = 0; i < 10; i++) { var item = new Item(); item.pos(0, i * (item.height + 1)); this.container.addChild(item); } } } 3,加载...
来源: Laya_社区 发布时间: 20180810
...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件...
来源: laya_api 发布时间: 20170929
...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent array : Array 列表数据源,...
来源: Laya2.0_api 发布时间: 20190513
...内容的变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件...
来源: laya_api 发布时间: 20170929
...alpha值会影响drawcall。Sprite anchorX : NumberX锚点,值为0-1,设置anchorX值最终通过pivotX值来改变节点轴心点。UIComponent anchorY : NumberY锚点,值为0-1,设置anchorY值最终通过pivotY值来改变节点轴心点。UIComponent autoPlay : Boolean 表示是否...
来源: Laya2.0_api 发布时间: 20190513
...ViewUI = new ui.ParentViewUI(); Laya.stage.addChild(parent); //当注释掉设置rotaion的代码则没有问题,否则会导致显示异常,其他child消失 parent.child_1.rotation = Math.random() * 180; } } class ChildView extends ui.ChildViewUI{ constructor(){ super(); var panel = new Laya.Pan...
来源: Laya_社区 发布时间: 20170829
...onent asPassword : Boolean 本API已弃用。使用type="password"替代设置asPassword, asPassword将在下次重大更新时删去。 指定文本字段是否是密码文本字段。 如果此属性的值为 true,则文本字段被视为密码文本字段,并使用星号而不是实际字...
来源: laya_api 发布时间: 20170929