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

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

211. laya.resource.NativeContext_API3.0 [ 75%]

...gnLength popRT pushRT restore restoreTransform save saveTransform scale setColorFilter size strokeWord transform transformByMatrix translate useRT wab __init__ set2DRenderConfig Constructors constructor new NativeContext(): NativeContext Defined in laya/resource/NativeContext.ts:89 Returns NativeCon...

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

212. 文本-单行输入 [ 75%]

...age.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; this.createInput(); } createInput() { const Input = Laya.Input; var inputText = new Input(); Laya.stage.addChild(inputText); inputText.size(350, 100); inputText.x = Laya.stage.width - inputText.width >> 1; ...

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

213. 滤镜效果 · LayaAir3.3 · 引擎文档 · LAYABOX [ 75%]

...用滤镜。 (动图1-1) 如图1-2所示,可以创建颜色滤镜(ColorFilter)、模糊滤镜(BlurFilter)、发光滤镜(GlowFilter)。 (图1-2) 1.2 同时生效 如图1-3所示,不同滤镜效果可以叠加使用并同时生效,开发者可以根据需要进行设置。 ...

来源: Laya3.0_文档 发布时间: 20250826

214. 文本-禁止编辑 [ 75%]

...age.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; this.createInput(); } createInput() { const Input = Laya.Input; let inputText = new Input(); Laya.stage.addChild(inputText); inputText.size(350, 100); inputText.x = Laya.stage.width - inputText.width >> 1; ...

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

215. HTMLDivElement中image标签多次赋值报错 [ 75%]

...lignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; setup(); })(); function setup() { createParagraph(); // 代码创建 } function createParagraph() { var p = new HTMLDivElement(); Laya.stage.addChild(p); p.style.font = "Impact"; p.style.fontSize = 30; var ...

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

216. 显示对象skew与scale同时设置时,APP与浏览器显示效果不一致 [ 75%]

...出明显区别,以下是测试代码   var i:int; var spr:Sprite; var colors:Array = ["#FF0000","#FFFF00"]; for (i = 0; i < 31; i++ ) { var spr:Sprite = new Sprite(); spr.x = 30+i*17; spr.y = 300; spr.graphics.drawRect(-10, -40, 20, 80,colors[i%2]); spr.skewX = i * 6; spr.scaleY = 1 / Math.co...

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

217. 文本-多行输入 [ 75%]

...lignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = "showall"; Laya.stage.bgColor = "#232628"; createInput(); })(); function createInput() { var inputText = new Input(); // 移动端输入提示符 inputText.prompt = "Type some word..."; //多行输入 inputText.multiline = true; inputText.wordWrap =...

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

218. Sprite optimizeScrollRect = true 似乎有问题 [ 74%]

...s, this.onMousewheel); } this.createText = function (_content, _fontSize, _color, _width, _autoSize, _wordWrap, _ID) { var txt = new Text(); txt.text = _content; txt.cacheAs = 'bitmap'; txt.fontSize = _fontSize; txt.bold = true; txt.font = 'wordFont'; txt.color = _color; txt.strokeColor = '#000000';...

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

219. fatal error: 'string' file not found [ 74%]

...供解决方案 p.p1 {margin: 0.0px 0.0px 0.0px 0.0px; font: 13.0px Menlo; color: #a31515; background-color: #ffffff} span.s1 {color: #0000ff} 附件 : --> 2019-07-25 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 4 个回复...

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

220. 文本-多行输入 [ 74%]

...age.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; this.createInput(); } createInput() { const Input = Laya.Input; let inputText = new Input(); Laya.stage.addChild(inputText); //多行输入 inputText.multiline = true; inputText.wordWrap = true; inputText.s...

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