大约有 70 项符合查询结果, 库内数据总量为 31,580 项。 (搜索耗时: 0.0033 秒)
...27 创建一个 Rectangle 对象。 Parameters Default value x: number = 0 矩形左上角的 X 轴坐标。 Default value y: number = 0 矩形左上角的 Y 轴坐标。 Default value width: number = 0 矩形的宽度。 Default value height: number = 0 矩形的高度。 Returns Rectangle Properti...
来源: Laya3.0_api 发布时间: 20231115
...列矢量图作为点击区域和非点击区域(目前只支持圆形,矩形,多边形) Hierarchy HitArea Implements IHitArea Index Properties _hit _unHit Accessors hit unHit Methods contains onAfterDeserialize Properties _hit _hit: Graphics Defined in laya/utils/HitArea.ts:17 _unHit _unHit...
来源: Laya3.0_api 发布时间: 20231115
...Globals "laya/display/cmd/DrawRectCmd" DrawRectCmd Class 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 填充...
来源: Laya3.0_api 发布时间: 20231115
...ed Menu Globals "laya/physics/BoxCollider" BoxCollider Class BoxCollider 2D矩形碰撞体 Hierarchy ColliderBase BoxCollider Index Constructors constructor Properties _extra _singleton fixture label owner rigidBody runInEditor scriptPath Accessors awaked density destroyed enabled friction height hi...
来源: Laya3.0_api 发布时间: 20231115
...ScaleY值。 Parameters sprite: Sprite Sprite 对象。 Returns Rectangle 矩形对象 Rectangle Static getTransformRelativeToWindow getTransformRelativeToWindow(coordinateSpace: Sprite, x: number, y: number): any Defined in laya/utils/SpriteUtils.ts:48 获取指定区域内相对于窗口左上角...
来源: Laya3.0_api 发布时间: 20231115
...trix.ts:58 将本矩阵设置为单位矩阵。 Returns Matrix 返回当前矩形。 invert invert(): Matrix Defined in laya/maths/Matrix.ts:211 执行原始矩阵的逆转换。 Returns Matrix 当前矩阵对象。 invertTransformPoint invertTransformPoint(out: Point): Point Defined in laya/maths/M...
来源: Laya3.0_api 发布时间: 20231115
...t(0, 0, 100, 100, "#ccff00", "#ff0000", 2);//绘制一个有边框的填充矩形。 shape.x = 400;//设置 shape 对象相对于父容器的水平方向坐标值。 shape.y = 200;//设置 shape 对象相对于父容器的垂直方向坐标值。 shape.width = 100;//设置 shape 对象的宽度。 s...
来源: Laya3.0_api 发布时间: 20231115
...cent?: boolean): DrawRectCmd Defined in laya/display/Graphics.ts:531 绘制矩形。 Parameters x: number 开始绘制的 X 轴位置。 y: number 开始绘制的 Y 轴位置。 width: number 矩形宽度。 height: number 矩形高度。 fillColor: any 填充颜色,或者填充绘图的渐变对...
来源: Laya3.0_api 发布时间: 20231115
...rited from Graphics.drawRect Defined in laya/display/Graphics.ts:531 绘制矩形。 Parameters x: number 开始绘制的 X 轴位置。 y: number 开始绘制的 Y 轴位置。 width: number 矩形宽度。 height: number 矩形高度。 fillColor: any 填充颜色,或者填充绘图的渐变对...
来源: Laya3.0_api 发布时间: 20231115
...rited from Graphics.drawRect Defined in laya/display/Graphics.ts:531 绘制矩形。 Parameters x: number 开始绘制的 X 轴位置。 y: number 开始绘制的 Y 轴位置。 width: number 矩形宽度。 height: number 矩形高度。 fillColor: any 填充颜色,或者填充绘图的渐变对...
来源: Laya3.0_api 发布时间: 20231115