大约有 712 项符合查询结果, 库内数据总量为 30,934 项。 (搜索耗时: 0.0049 秒)
Laya_社区(311) Laya3.0_api(93) Laya2.0_api(74) laya_api(62) Laya_示例(55) Laya2.0_示例(55) Laya2.0_文档(42) Laya3.0_文档(20)
... 确定)以及宽度和高度定义的区域。 Rectangle 类的 x、y、width 和 height 属性相互独立;更改一个属性的值不会影响其他属性。 Public Properties PropertyDefined By bottom : Number[read-only] 此矩形底端的 Y 轴坐标。y 和 height 属性的和。Rectan...
来源: laya_api 发布时间: 20170929
... 确定)以及宽度和高度定义的区域。 Rectangle 类的 x、y、width 和 height 属性相互独立;更改一个属性的值不会影响其他属性。 Public Properties PropertyDefined By bottom : Number[read-only] 此矩形底端的 Y 轴坐标。y 和 height 属性的和。Rectan...
来源: Laya2.0_api 发布时间: 20190513
...wser; var Handler = Laya.Handler; var WebGL = Laya.WebGL; function Segment(width, height) { Segment.super(this); Segment.prototype.init = function() { this.graphics.drawRect(-height / 2, -height / 2, width + height, height, "#FF7F50"); } // 获取关节另一头位置 Segment.prototype.getPinPositio...
来源: Laya_示例 发布时间: 20250311
...a.Accelerator; // 不支持WebGL时自动切换至Canvas Laya.init(Browser.width, Browser.height, WebGL); Laya.stage.alignV = Stage.ALIGN_MIDDLE; Laya.stage.alignH = Stage.ALIGN_CENTER; Laya.stage.scaleMode = Stage.SCALE_SHOWALL; Laya.stage.bgColor = "#232628"; // 初始化蛇 this.initSnake(); // ...
来源: Laya2.0_示例 发布时间: 20250311
..."child":[{"props":{"x":0,"y":0,"skin":"comp/bg.png","sizeGrid":"30,4,4,4","width":600,"height":400},"type":"Image"},{"props":{"x":41,"y":56,"skin":"comp/button.png","label":"点我赋值","width":150,"height":37,"sizeGrid":"4,4,4,4","var":"btn"},"type":"Button"},{"props":{"x":401,"y":56,"skin":"comp...
来源: Laya_社区 发布时间: 20170330
... 确定)以及宽度和高度定义的区域。 Rectangle 类的 x、y、width 和 height 属性相互独立;更改一个属性的值不会影响其他属性。 Hierarchy Rectangle Index Constructors constructor Properties height width x y TEMP Accessors bottom right Methods addPoint clone conta...
来源: Laya3.0_api 发布时间: 20231115
... true):void 清空绘制命令。 Graphics clipRect(x:Number, y:Number, width:Number, height:Number):ClipRectCmd 设置剪裁区域,超出剪裁区域的坐标不显示。 Graphics destroy():void 销毁此对象。 Graphics drawCircle(x:Number, y:Number, radius:Number, fillColor:*, lineCo...
来源: Laya2.0_api 发布时间: 20190513
...false):void 清空绘制命令。 Graphics clipRect(x:Number, y:Number, width:Number, height:Number):void 设置剪裁区域,超出剪裁区域的坐标不显示。 Graphics destroy():void 销毁此对象。 Graphics drawCircle(x:Number, y:Number, radius:Number, fillColor:*, lineColor:* =...
来源: laya_api 发布时间: 20170929
..."child":[{"props":{"x":0,"y":0,"skin":"comp/bg.png","sizeGrid":"30,4,4,4","width":600,"height":400},"type":"Image"},{"props":{"x":41,"y":56,"skin":"comp/button.png","label":"点我赋值","width":150,"height":37,"sizeGrid":"4,4,4,4","var":"btn"},"type":"Button"},{"props":{"x":401,"y":56,"skin":"comp...
来源: Laya_社区 发布时间: 20170330
...批量绘制同样纹理。 是把 x X 轴偏移量。 y Y 轴偏移量。 width 宽度。 height 高度。 m 矩阵信息。 把这几个参数组成一个json对象,然后再把多个json组成数组传入吗? 像这样吗drawTextures(texture, [{x:0, y:0, width:128, height:64}, {x:128, y:0, wi...
来源: Laya_社区 发布时间: 20170405