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

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

121. 分享一个Shader版的CoolDown实现 [ 82%]

...          attribute vec2 texcoord; \             attribute vec4 color; \             uniform vec2 size; \             uniform mat4 mmat; \             varying vec2 v_texcoord; \             varying vec4 v_color; \             void main(){ \             ...

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

122. Label属性详解(ActionScript-IDE篇(AS3)-IDE组件属性详解) [ 82%]

...| -------------------------------- | | text | 文本内容字符串。 | | color | 文本的颜色值。默认为黑色。 | | bold | 文本是否为粗体字显示。 | | font | 文本的字体名称。 | | fontSize | 文本的字体大小。 | | align | 文本的水平对齐方式。可选值有le...

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

123. 绘制梯形 出错问题~ [ 82%]

...路径 ]; //绘制梯形 lineSpr.graphics.drawPath(0, 0, path, {fillStyle: color}, {"strokeStyle": color, "lineWidth": "1"});   初始得出梯形的上顶边宽度是:0.001523 像素   这时候梯形高度是1186 像素  但是 画的不完整。感觉到了一半就断了。 2018-07-17 添...

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

124. laya.display.cmd.DrawTextureCmd_API3.0 [ 82%]

...制单个贴图 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

125. 关于缓动函数from的一些问题记录 [ 82%]

...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

126. HTMLDivElement使用滤镜时显示异常 [ 82%]

...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

127. laya.display.Graphics_API3.0 [ 82%]

...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

128. 请问HTMLDivElement怎么加垂直滚动条 [ 82%]

...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

129. HTMLDivElement貌似不支持空格? [ 82%]

HTMLDivElement貌似不支持空格? var html = "<span color='#e3d26a'>使用</span>"; html += "<span style='color:#FFFFFF;font-weight:bold'>HTMLDivElement</span>"; html += "<span color='#6ad2e3'>创建的</span><span> </span><span>...

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

130. Native(android)下创建二维码并显示在页面上 [ 82%]

... = 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