大约有 310 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0061 秒)
Laya_社区(147) Laya2.0_文档(45) Laya_示例(35) Laya2.0_示例(32) Laya3.0_文档(17) Laya3.0_api(16) Laya2.0_api(11) laya_api(7)
...//helloworld.js var txt = new Laya.Text(); txt.text = "Hello Layabox"; txt.color = "#ffffff"; export default txt 二、发布 安装工具,在ide上使用快捷键【ctrl+` 】打开终端,输入下面指令安装打包需要的node.js工具,因为之前已经安装过typescript,所以下...
来源: Laya_社区 发布时间: 20171120
...div.style.fontFamily = "Microsoft YaHei"; div.style.width = 200; div.style.color = "#black"; for(let i=0; i<FaceView.faceArray.length; i++) { txt = txt.replace(FaceView.repl,'<img src="res/face/face'+i+'.png" style="width:36px;height:36px;position:relative;top:30px;"></img>'); } div.p...
来源: Laya_社区 发布时间: 20170911
...ightSet _isWidthSet active activeInHierarchy align alpha anchorX anchorY bgColor blendMode bold borderColor cacheAs color components customRenderEnable destroyed displayHeight displayWidth displayedInStage drawCallOptimize editable filters focus font fontSize globalRotation globalScaleX globalScaleY...
来源: Laya3.0_api 发布时间: 20231115
...n LayaSample() { //初始化引擎 Laya.init(480, 640,WebGL); Laya.stage.bgColor = "#FFFF33"; var txt:Text = new Text(); //给文本的text属性赋值 txt.text = "gggggqqqqqqqyyyyyyyvvvv"; txt.align = "center"; txt.fontSize = 15; txt.font = "Microsoft YaHei"; txt.color = "#ff0000"; txt.leading = 5;...
来源: Laya_社区 发布时间: 20190606
...unds方法获取。设置为true,对性能有一定影响。 Sprite bgColor : String 文本背景颜色,以字符串表示。 Text blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bold : Boolean 指定文本是否为粗体字。 默认值为 false,这...
来源: laya_api 发布时间: 20170929
...unds方法获取。设置为true,对性能有一定影响。 Sprite bgColor : String[override] 文本背景颜色,以字符串表示。 Input blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bold : Boolean 指定文本是否为粗体字。 默认值为 fa...
来源: Laya2.0_api 发布时间: 20190513
...unds方法获取。设置为true,对性能有一定影响。 Sprite bgColor : String 文本背景颜色,以字符串表示。 Text blendMode : String指定要使用的混合模式。目前只支持"lighter"。Sprite bold : Boolean 指定文本是否为粗体字。 默认值为 false,这...
来源: Laya2.0_api 发布时间: 20190513
...550, 400); this.info = new Laya.Text(); this.info.fontSize = 50; this.info.color = "#FFFFFF"; this.info.size(Laya.stage.width, Laya.stage.height); Laya.stage.addChild(this.info); Laya.Gyroscope.instance.on(Laya.Event.CHANGE, this, onDeviceorientation); function onDeviceorientation(absolute, rota...
来源: Laya2.0_文档 发布时间: 20210714
...fontFamily = "Microsoft YaHei"; div.style.width = 200; div.style.color = "#black"; for(let i=0; i<FaceView.faceArray.length; i++) { txt = txt.replace(FaceView.repl[i],'<img src="res/face/face'+i+'.png" style="width:36px;height:36px;position:relative;top:30px;...
来源: Laya_社区 发布时间: 20170911
...会划到文字上面而且比较模糊 2. <a href='test.html' style='color:#000000;text-decoration:none'>Test </a> text-decoration:none这个属性不能取消显示下划线 1或2的问题能否解决其中一个,不然显示效果非常不好 2018-03-13 添加评论 免费帖...
来源: Laya_社区 发布时间: 20180313