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

大约有 450 项符合查询结果, 库内数据总量为 30,724 项。 (搜索耗时: 0.0034 秒)

51. 求好心人帮忙 [ 78%]

...或者能告诉我怎么用代码求鼠标的位置或是精灵的leftright等 2018-08-08 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞同来自: Lancer 鼠标监听里面 的 默认参数 e  ...

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

52. 文本-下划线 [ 78%]

... null, 100, 10); createText('center', 2, "#00BFFF", 155, 150); createText('right', 3, "#FF7F50", 210, 290); } function createText(align, underlineWidth, underlineColor, x, y) { var txt = new Text(); txt.text = "Layabox\n是HTML5引擎技术提供商\n与优秀的游戏发行商\n面向AS/JS/TS开发...

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

53. 文本-下划线 [ 78%]

...100, 10); this.createText('center', "#00BFFF", 155, 150); this.createText('right', "#FF7F50", 210, 290); } createText(align, underlineColor, x, y) { const Text = Laya.Text; let txt = new Text(); Laya.stage.addChild(txt); txt.text = "Layabox\n是HTML5引擎技术提供商\n与优秀的游戏发行商...

来源: Laya2.0_示例 发布时间: 20240930

54. Tree属性详解(JavaScript-IDE篇(JS)-IDE组件属性详解) [ 78%]

...2", "height": "24", "name": "selectBox", "skin": "ui/clip_selectBox.png", "right": "0", "clipY": "2"}}, {"type": "Clip", "props": {"y": "4", "x": "14", "name": "folder", "clipX": "1", "skin": "ui/clip_tree_folder.png", "clipY": "3"}}, {"type": "Label", "props": {"y": "1", "text": "treeItem", "width"...

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

55. laya.display.cmd.FillBorderTextCmd [ 78%]

... textAlign : String 文本对齐方式,可选值:"left","center","right"。 FillBorderTextCmd  x : Number 开始绘制文本的 x 坐标位置(相对于画布)。 FillBorderTextCmd  y : Number 开始绘制文本的 y 坐标位置(相对于画布)。 FillBorderTextCmdPublic Metho...

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

56. Dialog 组件不支持 通过边距的拉伸适配? [ 78%]

...的拉伸适配? view 可以通过边距的拉伸适配 设置top left right bottom 为0 就可以自动大小 Dialog 是不支持的? 2018-07-18 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复 Laya_Aaron 赞...

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

57. Tree属性详解(TypeScript-IDE篇(TS)-IDE组件属性详解) [ 78%]

...2", "height": "24", "name": "selectBox", "skin": "ui/clip_selectBox.png", "right": "0", "clipY": "2"}}, {"type": "Clip", "props": {"y": "4", "x": "14", "name": "folder", "clipX": "1", "skin": "ui/clip_tree_folder.png", "clipY": "3"}}, {"type": "Label", "props": {"y": "1", "text": "treeItem", "width"...

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

58. laya.display.cmd.FillTextCmd [ 77%]

... textAlign : String 文本对齐方式,可选值:"left","center","right"。 FillTextCmd  x : Number 开始绘制文本的 x 坐标位置(相对于画布)。 FillTextCmd  y : Number 开始绘制文本的 y 坐标位置(相对于画布)。 FillTextCmdPublic Methods  MethodDefined...

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

59. laya.d3.math.Matrix4x4 [ 77%]

...tatic] 计算观察矩阵 Matrix4x4  createOrthoOffCenterRH(left:Number, right:Number, bottom:Number, top:Number, near:Number, far:Number, out:Matrix4x4):void[static] 计算正交投影矩阵。 Matrix4x4  createPerspective(fov:Number, aspect:Number, near:Number, far:Number, out:Matrix4x4):void[...

来源: laya_api 发布时间: 20170929

60. laya.ui.LayoutStyle [ 77%]

...ber = NaN表示距左边的距离(以像素为单位)。LayoutStyle  right : Number = NaN表示距右边的距离(以像素为单位)。LayoutStyle  top : Number = NaN表示距顶边的距离(以像素为单位)。LayoutStylePublic Constants ConstantDefined By  EMPTY : LayoutStyle...

来源: laya_api 发布时间: 20170929