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

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

131. 缓动动画(JavaScript-LayaAir基础篇(JS)-动画基础) [ 49%]

...下: ```javascript //初始化舞台 Laya.init(1334,750,Laya.WebGL); //背景颜色 Laya.stage.bgColor = "#1b2436"; //创建缓动文本 createTween(); function createTween(){ //"LayaBox"字符串总宽度 var w = 800; //文本创建的起始x位置(>>在此使用右移运算符,相当于/2 用>...

来源: Laya2.0_文档 发布时间: 20210715

132. laya.ui.Label [ 49%]

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

来源: laya_api 发布时间: 20170929

133. laya.ui.ComboBox [ 48%]

...temColors : String 下拉列表项颜色。 格式:"悬停或被选中时背景颜色,悬停或被选中时标签颜色,标签颜色,边框颜色,背景颜色" ComboBox  itemRender : * = null 渲染项,用来显示下拉列表展示对象 ComboBox  itemSize : int 下拉列表项标签的字...

来源: laya_api 发布时间: 20170929

134. laya.ui.TextArea [ 48%]

...有一定影响。 Sprite bg : AutoBitmap 表示此对象包含的文本背景 AutoBitmap 组件实例。 TextInput bgColor : String 文本背景颜色,以字符串表示。 Label blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bold : Boolean 指定文本...

来源: laya_api 发布时间: 20170929

135. 缓动动画(TypeScript-LayaAir基础篇(TS)-动画基础) [ 48%]

...nDemo{ constructor() { //初始化舞台 Laya.init(1334,750,Laya.WebGL); //背景颜色 Laya.stage.bgColor = "#1b2436"; //创建缓动文本 this.createTween(); } //创建缓动文本 private createTween():void{ //"LayaBox字符串总宽度" var w:number = 800; //文本创建的起始位置(>>在此...

来源: Laya2.0_文档 发布时间: 20210715

136. laya.ui.Label [ 48%]

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

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

137. 缓动动画(ActionScript-LayaAir基础篇(AS3)-动画基础) [ 47%]

...ic function TweenDemo() { // 初始化舞台 Laya.init(1334,750, WebGL); //背景颜色 Laya.stage.bgColor = "#1b2436"; //创建缓动文本 createTween(); } //创建缓动文本 private function createTween():void { //"LayaBox"字符串总宽度 var w:int = 800; //文本创建时的起始x位置(>>...

来源: Laya2.0_文档 发布时间: 20210715

138. laya.ui.ComboBox [ 47%]

...temColors : String 下拉列表项颜色。 格式:"悬停或被选中时背景颜色,悬停或被选中时标签颜色,标签颜色,边框颜色,背景颜色" ComboBox  itemRender : * = null 渲染项,用来显示下拉列表展示对象 ComboBox  itemSize : int 下拉列表项标签的字...

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

139. laya.ui.ColorPicker [ 47%]

...定影响。 Sprite  bgColor : String 表示颜色样本列表面板的背景颜色值。 ColorPicker blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite  borderColor : String 表示颜色样本列表面板的边框颜色值。 ColorPicker bottom : Number 从...

来源: laya_api 发布时间: 20170929

140. laya.ui.ProgressBar [ 47%]

...-only] 获取进度条对象。 ProgressBar  bg : Image[read-only] 获取背景条对象。 ProgressBar blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bottom : Number 从组件底边到其内容区域底边之间的垂直距离(以像素为单位)。 UIC...

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