大约有 1,200 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0054 秒)
Laya_社区(628) Laya3.0_api(207) Laya2.0_文档(119) Laya_示例(59) Laya3.0_文档(56) laya_api(46) Laya2.0_api(44) Laya2.0_示例(41)
...路径 ]; //绘制梯形 lineSpr.graphics.drawPath(0, 0, path, {fillStyle: color}, {"strokeStyle": color, "lineWidth": "1"}); 初始得出梯形的上顶边宽度是:0.001523 像素 这时候梯形高度是1186 像素 但是 画的不完整。感觉到了一半就断了。 2018-07-17 添...
来源: Laya_社区 发布时间: 20180717
...制单个贴图 Hierarchy DrawTextureCmd Index Properties alpha blendMode color height matrix texture uv width x y ID Methods recover Properties alpha alpha: number Defined in laya/display/cmd/DrawTextureCmd.ts:42 (可选)透明度。 blendMode blendMode: string | null Defined in laya/display/cm...
来源: Laya3.0_api 发布时间: 20231115
...0; Laya.Tween.to(letterText,{y:100,update:new Laya.Handler(this,this.changeColor,[letterText])},3000,Laya .Ease.backOut,Laya.Handler.create(this,this.onEaseComplete),1000,null,true); function onEaseComplete(){ console.log("ease complete"); } function changeColor(text){ console.log("update"); var c =...
来源: Laya_社区 发布时间: 20180620
...LDivElement = new HTMLDivElement(); text.style.lineHeight = 30; text.style.color = color; text.style.width = 500; text.style.align = "center"; text.style.weight = "bold"; text.innerHTML = "中华人民共和国"; text.filters = [new GlowFilter("#000", 4, 2, 2)]; text.x = (ClientConfig.displayWidth-t...
来源: Laya_社区 发布时间: 20170216
...turns void drawCircle drawCircle(x: number, y: number, radius: number, fillColor: any, lineColor?: any, lineWidth?: number): DrawCircleCmd Defined in laya/display/Graphics.ts:544 绘制圆形。 Parameters x: number 圆点X 轴位置。 y: number 圆点Y 轴位置。 radius: number 半径。 fillCol...
来源: Laya3.0_api 发布时间: 20231115
...bsolute;width:495px;height:329px;overflow-y:scroll;border-width:1px;border-color:Red;border-style:solid;font-size:16px;color:#fff;'><p style='color:#999;right:20px'>2021-01-21 10:25:10</p>bbb>>bbb 加入了聊天室<br/>bbb>>啊实打实的鬼斧神工风神股份时...
来源: Laya_社区 发布时间: 20210121
HTMLDivElement貌似不支持空格? var html = "<span color='#e3d26a'>使用</span>"; html += "<span style='color:#FFFFFF;font-weight:bold'>HTMLDivElement</span>"; html += "<span color='#6ad2e3'>创建的</span><span>&#x3000;</span><span>...
来源: Laya_社区 发布时间: 20170105
... = createQRCodeBitmap(content, (int)width, (int)height, "UTF-8", "H", "1", Color.BLACK, Color.WHITE); if (null != bitmap) { String base64OfBitmap = bitmapToBase64(bitmap); if (null != base64OfBitmap) { base64OfBitmap.replace("\n", ""); return base64OfBitmap; } } return ""; }@Nullable public static B...
来源: Laya_社区 发布时间: 20200729
...宏 Hierarchy MeshSprite3DShaderDeclaration Index Properties SHADERDEFINE_COLOR SHADERDEFINE_GPU_INSTANCE SHADERDEFINE_TANGENT SHADERDEFINE_UV0 SHADERDEFINE_UV1 Properties Static SHADERDEFINE_COLOR SHADERDEFINE_COLOR: ShaderDefine Defined in laya/d3/core/MeshSprite3DShaderDeclaration.ts:10 顶点色...
来源: Laya3.0_api 发布时间: 20231115
...bc</div> * span:行内元素标签,比如:<span style='color:#ff0000'>abc</span> * p:行元素标签,p标签会自动换行,div不会,比如:<p>abc</p> * img:图片标签,比如:<img src='res/boy.png'></img> * br...
来源: Laya_社区 发布时间: 20190815