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

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

161. laya.map.TileAniSprite [ 45%]

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

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

162. 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

163. laya.ui.Box [ 45%]

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

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

164. 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

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

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

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

166. 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

167. 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

168. laya.particle.Particle2D [ 45%]

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

来源: laya_api 发布时间: 20170929

169. 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

170. laya.html.dom.HTMLDivElement_API3.0 [ 44%]

...签,可以加载一个css文件来当style使用,比如: style支持属性如下: italic:true|false; 是否是斜体 bold:true|false; 是否是粗体 letter-spacing:10px; 字间距 font-family:宋体; 字体 font-size:20px; 字体大小 font-weight:bold:none; 字体是否是粗体,功能同...

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