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

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

341. Panel中添加图片无法显示,文本可以 [ 69%]

...= new laya.ui.Label();     label.text = "fsadfsdfsdfsdfsdf";     label.color = "#ff0000";     label.fontSize = 40;     label.y = 50;     var label2 = new laya.ui.Label();     label2.text = "fsadfsdfsdfsdfsdf";     label2.color = "#0000ff";     label2.fontSize = 40;     label2.y = 1...

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

342. 富文本A标签超链接点击范围太小,经常点不到怎么回事? [ 69%]

...g:6; font-style:normal; font-weight:normal}\n a{text-decoration:underline; color:#00FF00;}\n .hengxian{display:block;leading:6;color:#00000000} "); cssText这里如何定义多个标签的CSS样式 2017-04-24 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: ...

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

343. 这是图文混排谷歌浏览器查看正常打包后的APP文字消失表情变大 [ 69%]

...div.style.fontFamily = "Microsoft YaHei"; div.style.width = 200; div.style.color = "#000000"; for(let i=0; i<FaceView.faceArray.length; i++) { txt = txt.replace(FaceView.repl,'<img src="res/ChatFace/face'+i+'.png" style="width:28px;height:28px;"></img>'); } div.pos(30,5); div.innerHTM...

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

344. laya.filters.GlowFilter_API3.0 [ 69%]

... Constructors constructor Methods getBlurInfo1Native getBlurInfo2Native getColorNative _filter Constructors constructor new GlowFilter(color: string, blur?: number, offX?: number, offY?: number): GlowFilter Overrides Filter.constructor Defined in laya/filters/GlowFilter.ts:24 创建发光滤镜 Para...

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

345. 性能测试-卡通人物2 [ 69%]

...prototype.createNameLabel = function() { nameLabel = new Text(); nameLabel.color = "#FFFFFF"; nameLabel.text = "Default"; nameLabel.fontSize = 13; nameLabel.width = Character.WIDTH; nameLabel.align = "center"; this.addChild(nameLabel); } Character.prototype.setSpeed = function(value) { this.speed = ...

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

346. 文本-Overflow [ 69%]

...age.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; this.createInput(); } createInput() { const Text = Laya.Text; let t1 = this.createText(); t1.overflow = Text.VISIBLE; t1.pos(10, 10); let t2 = this.createText(); t2.overflow = Text.SCROLL; t2.pos(10, 110); ...

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

347. HTMLDivElement 中contextWidth计算有问题 [ 69%]

...lement = new HTMLDivElement(); var str:String = "<span style='font:48px;color:#ffffff;'>白色文本</span>"; div.innerHTML = str; trace(div.contextWidth);可以把你div的样式,给span赋值上,得到同样的效果! 2017-03-09 0 0 分享 微博 QZONE 微信 luuren 赞同来自:...

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

348. 如何获取HTMLDivElement对象的文本值 [ 69%]

...ment = new HTMLDivElement();             var html:String = "<span color='#e3d26a'>使用</span>";             p.innerHTML = html; 然后我如何才能从p中获取"<span color='#e3d26a'>使用</span>". 2017-03-07 添加评论 免费帖 --> 分享 微博 QZONE 微...

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

349. laya.d3.core.material.PBRStandardMaterial_API3.0 [ 69%]

...renderQuality Accessors MaterialDefine MaterialProperty _defineDatas albedoColor albedoTexture alphaTest alphaTestValue anisotropy anisotropyEnable anisotropyRotation anisotropyTexture blend blendDst blendDstAlpha blendDstRGB blendEquation blendEquationAlpha blendEquationRGB blendSrc blendSrcAlpha b...

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

350. 网络和格式-POST [ 69%]

...age.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; this.connect(); this.showLogger(); } connect() { const HttpRequest = Laya.HttpRequest, Event = Laya.Event; hr = new HttpRequest(); hr.once(Event.PROGRESS, this, this.onHttpRequestProgress); hr.once(Event.CO...

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