大约有 1,200 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0161 秒)
Laya_社区(628) Laya3.0_api(207) Laya2.0_文档(119) Laya_示例(59) Laya3.0_文档(56) laya_api(46) Laya2.0_api(44) Laya2.0_示例(41)
...= 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
...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
...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
... 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
...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
...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
...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
...ment = new HTMLDivElement(); var html:String = "<span color='#e3d26a'>使用</span>"; p.innerHTML = html; 然后我如何才能从p中获取"<span color='#e3d26a'>使用</span>". 2017-03-07 添加评论 免费帖 --> 分享 微博 QZONE 微...
来源: Laya_社区 发布时间: 20170307
...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
...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