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

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

1. laya.maths.Point [ 100%]

...athsClasspublic class PointInheritancePoint Object Point 对象表示二维坐标系统中的某个位置,其中 x 表示水平轴,y 表示垂直轴。 Public Properties PropertyDefined By  x : Number该点的水平坐标。Point  y : Number该点的垂直坐标。PointPublic Methods  Meth...

来源: laya_api 发布时间: 20170929

2. laya.maths.Point [ 99%]

...athsClasspublic class PointInheritancePoint Object Point 对象表示二维坐标系统中的某个位置,其中 x 表示水平轴,y 表示垂直轴。 Public Properties PropertyDefined By  x : Number该点的水平坐标。Point  y : Number该点的垂直坐标。PointPublic Methods  Meth...

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

3. laya.maths.Rectangle [ 98%]

... PropertyDefined By  bottom : Number[read-only] 此矩形底端的 Y坐标y 和 height 属性的和。Rectangle  height : Number 矩形的高度。Rectangle  right : Number[read-only] 此矩形右侧的 X坐标x 和 width 属性的和。Rectangle  width : Number 矩形的宽...

来源: laya_api 发布时间: 20170929

4. laya.maths.Rectangle [ 97%]

... PropertyDefined By  bottom : Number[read-only] 此矩形底端的 Y坐标y 和 height 属性的和。Rectangle  height : Number 矩形的高度。Rectangle  right : Number[read-only] 此矩形右侧的 X坐标x 和 width 属性的和。Rectangle  width : Number 矩形的宽...

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

5. laya.display.Graphics [ 97%]

...idth:Number, height:Number):void 设置剪裁区域,超出剪裁区域的坐标不显示。 Graphics  destroy():void 销毁此对象。 Graphics  drawCircle(x:Number, y:Number, radius:Number, fillColor:*, lineColor:* = null, lineWidth:Number = 1):void 绘制圆形。 Graphics  drawCurves(x:N...

来源: laya_api 发布时间: 20170929

6. laya.maths.Point_API3.0 [ 97%]

... Menu Globals "laya/maths/Point" Point Class Point Point 对象表示二维坐标系统中的某个位置,其中 x 表示水平轴,y 表示垂直轴。 Hierarchy Point Index Constructors constructor Properties x y TEMP Methods copy distance normalize recover reset setTo toString create Construct...

来源: Laya3.0_api 发布时间: 20231115

7. laya.display.Graphics [ 97%]

...mber, height:Number):ClipRectCmd 设置剪裁区域,超出剪裁区域的坐标不显示。 Graphics  destroy():void 销毁此对象。 Graphics  drawCircle(x:Number, y:Number, radius:Number, fillColor:*, lineColor:* = null, lineWidth:Number = 1):DrawCircleCmd 绘制圆形。 Graphics  drawC...

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

8. 关于2d内的坐标转换问题 [ 96%]

关于2d内的坐标转换问题 需要实现的效果如下图 四张image ——【a/b/c/d】需要生成在场景的中间位置。然后通过代码将他们一到粉红色框处的位置,粉红色的image跟绿色的image同级,且父容器都分别为四个黑色框。绿色框需要知...

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

9. 布局后的对象的x y坐标如何获取? [ 96%]

布局后的对象的x y坐标如何获取? 问一下,是不是设置了centerX 和centerY后,就无法获取到这个Box坐标了呀? console.log(this.test1.x ) //结果是 0  但console.log 这个对象,可以看到_x _y 的坐标   请问如何获取到这个被布局后的x...

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

10. laya.maths.Rectangle_API3.0 [ 95%]

...e 对象。 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 Properties height height: number...

来源: Laya3.0_api 发布时间: 20231115