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

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

321. laya.ui.HSlider [ 26%]

...值,指示是否显示标签。 Slider sizeGrid : String 当前实例的背景图( Image )和滑块按钮( Button )实例的有效缩放网格数据。 数据格式:"上边距,右边距,下边距,左边距,是否重复填充(值为0:不重复填充,1:重复填充)",以逗号分...

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

322. laya.ui.ViewStack [ 26%]

...取。设置为true,对性能有一定影响。 Sprite bgColor : String背景颜色Box blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 UIComponent cacheA...

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

323. laya.ui.Tab [ 26%]

...取。设置为true,对性能有一定影响。 Sprite bgColor : String背景颜色Box blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 UIComponent cacheA...

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

324. laya.ui.Dialog [ 26%]

...弹出,拖动,模式窗口功能。 可以通过UIConfig设置弹出框背景透明度,模式窗口点击边缘是否关闭等 通过设置zOrder属性,可以更改弹出的层次 通过设置popupEffect和closeEffect可以设置弹出效果和关闭效果,如果不想有任何弹出关闭...

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

325. laya.ui.RadioGroup [ 26%]

...取。设置为true,对性能有一定影响。 Sprite bgColor : String背景颜色Box blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 UIComponent cacheA...

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

326. laya.media.SoundNode_API3.0 [ 24%]

... Menu Globals "laya/media/SoundNode" SoundNode Class SoundNode 用于播放背景音乐或者音效的节点 Hierarchy Sprite SoundNode Index Constructors constructor Properties _extra _ownGraphics _scene _skinBaseUrl _url autoSize hitTestPrior mouseThrough name tag drawtocanvCtx Accessors _isHeight...

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

327. laya.display.Sprite_API3.0 [ 24%]

...宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 onInit(); } private function onInit():void { sprite = new Sprite();//创建一个 Sprite 类的实例对象 sprite 。 sprite.loadImage("resource/ui/bg.png");//加载并显示图片。 sprite.x = 200;//设置 sp...

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

328. laya.display.Input [ 24%]

...设置为true,对性能有一定影响。 Sprite bgColor : String 文本背景颜色,以字符串表示。 Text blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bold : Boolean 指定文本是否为粗体字。 默认值为 false,这意味着不使用粗...

来源: laya_api 发布时间: 20170929

329. laya.display.Stage_API3.0 [ 24%]

...bgColor(value: string): void Defined in laya/display/Stage.ts:675 舞台的背景颜色,默认为黑色,null为透明。 Returns string Defined in laya/display/Stage.ts:679 舞台的背景颜色,默认为黑色,null为透明。 Parameters value: string Returns void blendMode get blendMode():...

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

330. laya.display.Animation_API3.0 [ 23%]

...宽高、渲染模式。 Laya.stage.bgColor = "#efefef";//设置画布的背景颜色。 init();//初始化 } private function init():void { var animation:Animation = new Animation();//创建一个 Animation 类的实例对象 animation 。 animation.loadAtlas("resource/ani/fighter.json");//加载...

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