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

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

111. laya.ui.LayoutBox [ 79%]

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

来源: laya_api 发布时间: 20170929

112. laya.ui.VScrollBar [ 79%]

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

来源: laya_api 发布时间: 20170929

113. laya.ani.swf.MovieClip [ 79%]

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

来源: laya_api 发布时间: 20170929

114. laya.ui.Tab [ 79%]

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

来源: laya_api 发布时间: 20170929

115. 文本-单行输入 [ 79%]

... 1; // 移动端输入提示符 inputText.prompt = "Type some word..."; // 设置字体样式 inputText.bold = true; inputText.bgColor = "#666666"; inputText.color = "#ffffff"; inputText.fontSize = 20; Laya.stage.addChild(inputText); } })();module laya { import Input = Laya.Input; import Stage = Lay...

来源: Laya_示例 发布时间: 20251130

116. laya.ui.HScrollBar [ 79%]

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

来源: laya_api 发布时间: 20170929

117. 文本-字数限制 [ 79%]

...xt.width >> 1; inputText.y = Laya.stage.height - inputText.height >> 1; // 设置字体样式 inputText.bold = true; inputText.bgColor = "#666666"; inputText.color = "#ffffff"; inputText.fontSize = 20; inputText.maxChars = 5; } } new Text_MaxChars();module laya { import Input = Laya.Input; import St...

来源: Laya2.0_示例 发布时间: 20251130

118. laya.map.MapLayer [ 79%]

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

来源: laya_api 发布时间: 20170929

119. 文本-禁止编辑 [ 79%]

... "这段文本不可编辑,但可复制"; inputText.editable = false; // 设置字体样式 inputText.bold = true; inputText.bgColor = "#666666"; inputText.color = "#ffffff"; inputText.fontSize = 20; Laya.stage.addChild(inputText); } })();module laya { import Input = Laya.Input; import Stage = Lay...

来源: Laya_示例 发布时间: 20251130

120. drawToCanvas无法截取到有子元素。 [ 79%]

...shot.addChild(sp);对,是可以的。当时drawToCanvas的第一个参数设置小了,没看到后面的元素。 这里还有一个问题: const sp1 = new Laya.Image(); sp1.skin = 'bet/cheer_1_3.png'; this.addChild(sp1); const htmlCanvas = sp1.drawToCanvas(640, 200, 0, 0); const canvas = html...

来源: Laya_社区 发布时间: 20171018