大约有 1,199 项符合查询结果, 库内数据总量为 31,560 项。 (搜索耗时: 0.0054 秒)
Laya_社区(627) Laya3.0_api(207) Laya2.0_文档(119) Laya_示例(59) Laya3.0_文档(56) laya_api(46) Laya2.0_api(44) Laya2.0_示例(41)
...同来自: Richer 1.简单的Html属性设置:Bold、Font、FontSize、Color、下划线 【注意,不支持斜体、描边、span标签内嵌的方式】 示例如下: var div:HTMLDivElement=new HTMLDivElement(); div.innerHTML="<span style='font-weight:bold;" + "font:24px Arial' " + "color...
来源: Laya_社区 发布时间: 20161027
...的时候,偶尔会用到 <font> 标签嵌套,例如:<font color="#FF0000">中华人民共和国<font color="#00FFFF">这里有几个字</font>中华人民共和国</font>。这段内容在网页上浏览能正常显示颜色。但放入 Laya 后却会丢失文字...
来源: Laya_社区 发布时间: 20180208
绘制形状时事件不触发 function myRing(x,y,r1,color1,r2,color2) { this.sprite = new Laya.Sprite(); this.sprite.on('mousedown', this, on_down); this.sprite.graphics.drawCircle(x, y, r2, color2, color2, 2); this.sprite.graphics.drawCircle(x, y, r1, color1, color...
来源: Laya_社区 发布时间: 20161221
...nt 类用于创建颜色渐变。 Public Properties PropertyDefined By colorAlphaKeysCount : int[read-only] 获取颜色Alpha数量。 Gradient colorRGBKeysCount : int[read-only] 获取颜色RGB数量。 Gradient maxColorAlphaKeysCount : int[read-only] 获取最大颜色Alpha帧数量。 G...
来源: Laya2.0_api 发布时间: 20190513
..._MIN BLENDEQUATION_REVERSE_SUBTRACT BLENDEQUATION_SUBTRACT BLENDPARAM_BLENDCOLOR BLENDPARAM_BLEND_ONEMINUS_COLOR BLENDPARAM_DST_ALPHA BLENDPARAM_DST_COLOR BLENDPARAM_ONE BLENDPARAM_ONE_MINUS_DST_ALPHA BLENDPARAM_ONE_MINUS_DST_COLOR BLENDPARAM_ONE_MINUS_SRC_ALPHA BLENDPARAM_ONE_MINUS_SRC_COLOR BLENDP...
来源: Laya3.0_api 发布时间: 20231102
...ackages | All Classes | Index | Frames No Frames VertexPositionNormalColorTextureTangentProperties | Methods Packagelaya.d3.graphicsClasspublic class VertexPositionNormalColorTextureTangentInheritanceVertexPositionNormalColorTextureTangent ObjectImplements IVertex VertexPositionNormalColorTe...
来源: laya_api 发布时间: 20170929
...这位的,不过做了一些修改,原来的代码 uniform vec4 u_Tintcolor; #ifdef RENDERMODE_MESH varying vec4 v_MeshColor; #endif #ifdef FOG varying vec3 v_PositionWorld; uniform vec3 u_CameraPosition; uniform float u_FogStart; uniform float u_FogRange; #ifdef ADDTIVEFOG #else ...
来源: Laya_社区 发布时间: 20190802
...ords){ len=words.length; var a; if (cssStyle){ var font=cssStyle.font; var color=cssStyle.color; if (cssStyle.stroke){ var stroke=cssStyle.stroke; stroke=parseInt(stroke); var strokeColor=cssStyle.strokeColor; graphic.fillBorderWords(words,gX,gY,font,color,strokeColor,stroke); }else { graphic.fillWo...
来源: Laya_社区 发布时间: 20190611
...新划分文本 private underLineWidth = 0; //下划线长度 private underColor = ""; //下划线颜色 /** * 渲染文字 * @param begin * @param visibleLineCount */ renderText(begin, visibleLineCount) { var graphics = this.graphics; graphics.clear(true); var ctxFont = (this.italic ? "italic " : "...
来源: Laya_社区 发布时间: 20180417
...什么都没留下…… **/ interface ITextFormat { /** * 背景色 */ bgColor?: string; /** * 是否加粗 */ bold?: number; /** * 文本框背景色 */ borderColor?: string; /** * 文本颜色 */ color?: string; /** * 字体 */ font?: string; /** * 字体大小 */ fontSize?: number; /** * 是否...
来源: Laya_社区 发布时间: 20171226