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

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

261. HTMLDivElement 设置字体 [ 72%]

...  html.innerHTML = "<span style='font-weight:bold; font:24px SimHei' color='#ff0000'>欢迎你的加入</span>"             +"<span style='font-weight:bold; font:24px Arial' color='#ff0000'>欢迎你的加入</span>";             this.addChild(html);...

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

262. 脚本组件的使用(JavaScript-2D进阶篇(JS)-扩展模块) [ 72%]

...| | type | 类型:Int,Number,sNumber,String,Bool,Option,editOption,Check,Color,ColorArray,Node,Nodes,Prefab,SizeGrid,Vec,Vector,Ease | | accept | String的关联属性,accept:res 为接收资源地址 | | acceptTypes | Node和accept的关联属性, 接收的类型,比如和节点使用Revolu...

来源: Laya2.0_文档 发布时间: 20210715

263. 脚本化(JavaScript-IDE篇(JS)-脚本使用) [ 72%]

...| | type | 类型:Int,Number,sNumber,String,Bool,Option,editOption,Check,Color,ColorArray,Node,Nodes,Prefab,SizeGrid,Vec,Vector,Ease | | accept | String的关联属性,accept:res 为接收资源地址 | | acceptTypes | Node和accept的关联属性, 接收的类型,比如和节点使用Revolu...

来源: Laya2.0_文档 发布时间: 20200603

264. HtmlDivElement的innerHTML属性BUG [ 72%]

...Element = new HTMLDivElement(); htmlDiv.style.fontSize = 25; htmlDiv.style.color = "#ffffff"; Laya.stage.addChild(htmlDiv); htmlDiv.innerHTML = "<font color='#00ff00'>宝石1<br/>宝石2</font>"; 用了1.7.17版本测试,未解决,麻烦官方测试下。 附件 : --> Client.zi...

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

265. laya.display.cmd.DrawTextureCmd [ 72%]

...ureCmd  blendMode : String (可选)混合模式。 DrawTextureCmd  color : String (可选)颜色滤镜。 DrawTextureCmd  colorFlt : ColorFilter = nullDrawTextureCmd  height : Number (可选)高度。 DrawTextureCmd  matrix : Matrix (可选)矩阵信息。 DrawTextureCmd ...

来源: Laya2.0_api 发布时间: 20190513

266. 怎样复制bmf字体 [ 72%]

....width; this.height = _label.height; this.fontSize = _label.fontSize; this.color = _label.color; this.font = _label.font; } } 2018-05-17 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 w1114367261 赞同来自: htt...

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

267. 类似古文显示方式脚本,文字垂直显示,可以控制显示速度出现打字效果等 [ 72%]

...ault:"hello world"}*/ public text: string = "hello world"; /** @prop {name:color, tips:"字符串类型示例", type:String, default:"#0000ff"}*/ public color: string = "#0000ff"; /** @prop {name:layoutType, tips:"排版方式(verticalRight-0 竖排从右到左)", type:enum, default:0}*/ public ...

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

268. laya.display.cmd.StrokeTextCmd [ 72%]

...TextCmd Object 绘制描边文字 Public Properties PropertyDefined By  color : String 定义文本颜色,比如"#ff0000"。 StrokeTextCmd  font : String 定义字体和字号,比如"20px Arial"。 StrokeTextCmd  lineWidth : Number 线条宽度。 StrokeTextCmd  text : String 在画布...

来源: Laya2.0_api 发布时间: 20190513

269. laya.display.cmd.DrawTrianglesCmd [ 72%]

...pha DrawTrianglesCmd  blendMode : String blend模式 DrawTrianglesCmd  color : ColorFilter 颜色变换 DrawTrianglesCmd  indices : Uint16Array 顶点索引。 DrawTrianglesCmd  matrix : Matrix 缩放矩阵。 DrawTrianglesCmd  texture : Texture 纹理。 DrawTrianglesCmd  uvs : Float32A...

来源: Laya2.0_api 发布时间: 20190513

270. 文本-下划线 [ 72%]

...age.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; createTexts(); })(); function createTexts() { createText('left', 1, null, 100, 10); createText('center', 2, "#00BFFF", 155, 150); createText('right', 3, "#FF7F50", 210, 290); } function createText(align, un...

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