大约有 334 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0025 秒)
Laya3.0_api(116) Laya2.0_api(82) laya_api(75) Laya3.0_文档(48) Laya_社区(10) Laya2.0_示例(1) Laya_示例(1) Laya2.0_文档(1)
...rops":{"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/clip_num.pn...
来源: Laya_社区 发布时间: 20170330
...ction updateRectPos() { rect.x = Laya.stage.width / 2; rect.y = Laya.stage.height / 2; } })();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; export class SmartScale_Scale_SHOW_ALL { private rect: Sprite; constructor() { Laya.init(550, 400); Laya.stage.scaleMode = Stage.SCALE_S...
来源: Laya_示例 发布时间: 20251209
...teRectPos() { this.rect.x = Laya.stage.width / 2; this.rect.y = Laya.stage.height / 2; } } new SmartScale_Scale_SHOW_ALL();module laya { import Sprite = Laya.Sprite; import Stage = Laya.Stage; export class SmartScale_Scale_SHOW_ALL { private rect: Sprite; constructor() { Laya.init(550, 400); Laya.st...
来源: Laya2.0_示例 发布时间: 20251209
...e" Size Class Size Hierarchy Size Index Constructors constructor Accessors height width fullScreen Constructors constructor new Size(width: number, height: number): Size Defined in laya/d3/utils/Size.ts:33 创建Size实例 Parameters width: number 宽度 height: number 高度 Returns Size Accessors ...
来源: Laya3.0_api 发布时间: 20231115
...d Class DrawEllipseCmd Hierarchy DrawEllipseCmd Index Properties fillColor height lineColor lineWidth percent width x y ID Methods getBoundPoints recover Properties fillColor fillColor: any Defined in laya/display/cmd/DrawEllipseCmd.ts:27 填充颜色,或者填充绘图的渐变对象。 height he...
来源: Laya3.0_api 发布时间: 20231115
... DrawRectCmd 绘制矩形 Hierarchy DrawRectCmd Index Properties fillColor height lineColor lineWidth percent width x y ID Methods getBoundPoints recover Properties fillColor fillColor: any Defined in laya/display/cmd/DrawRectCmd.ts:31 填充颜色,或者填充绘图的渐变对象。 height heigh...
来源: Laya3.0_api 发布时间: 20231115
...Protected All Inherited Externals Only exported Menu Globals "laya/d3/core/HeightMap" HeightMap Class HeightMap HeightMap 类用于实现高度图数据。 Hierarchy HeightMap Index Constructors constructor Accessors height maxHeight minHeight width Methods getHeight creatFromMesh createFromImage Co...
来源: Laya3.0_api 发布时间: 20231102
...illTextureCmd 填充贴图 Hierarchy FillTextureCmd Index Properties color height offset percent texture type width x y ID Methods getBoundPoints recover Properties color color: number = 4294967295 Defined in laya/display/cmd/FillTextureCmd.ts:50 (可选)绘图颜色 height height: number Define...
来源: Laya3.0_api 发布时间: 20231115
...tCmd Class ClipRectCmd 裁剪命令 Hierarchy ClipRectCmd Index Properties height width x y ID Methods recover Properties height height: number Defined in laya/display/cmd/ClipRectCmd.ts:26 高度。 width width: number Defined in laya/display/cmd/ClipRectCmd.ts:22 宽度。 x x: number Defined in l...
来源: Laya3.0_api 发布时间: 20231115
...ass DrawRoundRectCmd Hierarchy DrawRoundRectCmd Index Properties fillColor height lb lineColor lineWidth lt percent rb rt width x y ID Methods getBoundPoints recover Properties fillColor fillColor: any Defined in laya/display/cmd/DrawRoundRectCmd.ts:43 填充颜色,或者填充绘图的渐变对...
来源: Laya3.0_api 发布时间: 20231115