• 首页
  • 动态
  • 案例
  • 引擎社区
  • API
  • 文档
  • 示例
  • 引擎下载

大约有 319 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0086 秒)

161. laya.ui.Tab_API3.0 [ 45%]

... "laya/ui/Tab" Tab Class Tab Tab 组件用来定义选项卡按钮组。 * 属性:selectedIndex 默认值为-1。 example 以下示例代码,创建了一个 Tab 实例。 package { import laya.ui.Tab; import laya.utils.Handler; public class Tab_Example { public function Tab_Example() { Laya.i...

来源: Laya3.0_api 发布时间: 20231115

162. laya.ui.Box [ 45%]

...变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite  bgColor : String背景颜色Box blendMode : String指定要使用混合模式。目前只支持"lighter"。Sprite ...

来源: Laya2.0_api 发布时间: 20190513

163. laya.ui.Clip_API3.0 [ 45%]

... clip 动画播放时间间隔。 clip.x = 100;//设置 clip 对象属性 x 值,用于控制 clip 对象显示位置。 clip.y = 100;//设置 clip 对象属性 y 值,用于控制 clip 对象显示位置。 clip.on(Event.CLICK, this, onClick);//给 clip 添加点击事件函...

来源: Laya3.0_api 发布时间: 20231115

164. laya.ui.Slider_API3.0 [ 45%]

...变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 changeHandler changeHandler: Handler Defined in laya/ui/Slider.ts:46 数据变化处理器。 默认回调参数为滑块位置...

来源: Laya3.0_api 发布时间: 20231115

165. laya.ui.WXOpenDataViewer_API3.0 [ 45%]

...变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from AnimationBase.hitTestPrior Defined in laya/display/Sprite.ts:266 指定...

来源: Laya3.0_api 发布时间: 20231102

166. laya.ui.Panel_API3.0 [ 45%]

...ts:31 创建一个新 Panel 类实例。 在 Panel 构造函数中设置属性width、height值都为100。 Returns Panel Properties Optional _extra _extra: INodeExtra Inherited from Node._extra Defined in laya/display/Node.ts:56 _ownGraphics _ownGraphics: boolean = false Inherited from Text._...

来源: Laya3.0_api 发布时间: 20231115

167. laya.particle.Particle2D [ 45%]

...变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite blendMode : String指定要使用混合模式。目前只支持"lighter"。Sprite cacheAs : String 指定显示对象...

来源: laya_api 发布时间: 20170929

168. laya.ui.UIComponent_API3.0 [ 45%]

...变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 hitTestPrior hitTestPrior: boolean = false Inherited from Text.hitTestPrior Defined in laya/display/Sprite.ts:273 指定鼠标事...

来源: Laya3.0_api 发布时间: 20231115

169. laya.ui.VSlider [ 44%]

...布尔值,指定是否允许通过点击滑动条改变 Slider value 属性值。 Slider alpha : Number透明度,值为0-1,默认值为1,表示不透明。更改alpha值会影响drawcall。Sprite anchorX : NumberX轴锚点,值为0-1Component anchorY : NumberY轴锚点,值为0-1Com...

来源: laya_api 发布时间: 20170929

170. laya.ui.ScaleBox [ 44%]

...变化而变化,如果想根据绘制内容获取宽高,可以设置本属性为true,或者通过getBounds方法获取。设置为true,对性能有一定影响。 Sprite bgColor : String背景颜色Box blendMode : String指定要使用混合模式。目前只支持"lighter"。Sprite bo...

来源: Laya2.0_api 发布时间: 20190513