大约有 38 项符合查询结果, 库内数据总量为 31,722 项。 (搜索耗时: 0.0035 秒)
...体启动奔溃 libFontParser.dylib`TSFNTFont::EnumerateTableTags: 0x1c1b38ee4 <+0>: sub sp, sp, #0x40 0x1c1b38ee8 <+4>: stp x22, x21, [sp, #0x10] 0x1c1b38eec <+8>: stp x20, x19, [sp, #0x20] 0x1c1b38ef0 <+12>: stp x29,...
来源: Laya_社区 发布时间: 20240124
...f values must be even"); } this.points = points; } private static distance(x1: number, y1: number, x2: number, y2: number): number { let dx = x2-x1; let dy = y2-y1; return Math.sqrt(dx*dx+dy*dy); } private getPoint(t: number, x0: number, y0: number, x1: number, y1: number, x2: number, y2: number, x3...
来源: Laya_社区 发布时间: 20241008
...向右为x轴正方向。 竖直向上为y轴正方向。且AC向量为(x1, y1) 则 C点坐标为 (x1, y1). 如果 AC旋转指定角度为θ. 则新的 C`坐标为(r*cos(θ+θ`), r*sin(θ+θ`)). 其中 r= 根号下(x1*x1+y1*y1). θ`= y1/x1的正切反三角 2019-12-24 0 1...
来源: Laya_社区 发布时间: 20191224
...nized selector sent to instance 0x300633400' *** First throw call stack: (0x19ef68f20 0x196e172b8 0x19f072480 0x19ef05fb4 0x19ef058d0 0x10297b8b4 0x102815fe0 0x1028b6280 0x1028b61f8 0x1028b600c 0x102b26978 0x10359a6c4 0x103598cec 0x103598cec 0x103598cec 0x103598cec 0x103598cec 0x103598cec 0x103598ce...
来源: Laya_社区 发布时间: 20251218
...): { x: number, y: number, hudu: number } { let hudu = a * 3.14 / 180; let x1 = Math.round(x0 + r * Math.cos(hudu)); let y1 = Math.round(y0 + r * Math.sin(hudu)); console.log("Point :x=", x1, "y=", y1,"hudu=",a); return { x: x1, y: y1, hudu: a }; } 2019-06-29 添加评论 免费帖 --> 分享 微...
来源: Laya_社区 发布时间: 20190629
...400,alpha:0.5},500); 与下面的效果是一样的 let origin: any = {x1:sp1.x,y1:sp1.y,x2:sp2.x,y2:sp2.y,alpha2:sp2.alpha}; let target: any = {x1:100,y1:200,x2:300,y2:400,alpha2:0.5}; Laya.Tween.to(origin,target,500).update = new Laya.Handler(null,()=>{ sp1.x = origin.x1;...
来源: Laya_社区 发布时间: 20200817
...段宽度。 DrawLinesCmd points : Array 线段的点集合。格式:[x1,y1,x2,y2,x3,y3...]。 DrawLinesCmd x : Number 开始绘制的X轴位置。 DrawLinesCmd y : Number 开始绘制的Y轴位置。 DrawLinesCmdPublic Methods MethodDefined By recover():void 回收到对象池 DrawLin...
来源: Laya2.0_api 发布时间: 20190513
...的飞行动画 请问如何创建一个图片飞行动画,? 例如: x1-y1飞行到x2-y2的动画。x1y1 和x2y2 在代码里面根据情况会改变 2017-11-09 添加评论 免费帖 --> 分享 微博 QZONE 微信 没有找到相关结果 已邀请: 与内容相关的链接 提交 1 个回复...
来源: Laya_社区 发布时间: 20171109
...合,路径支持以下格式:[["moveTo",x,y],["lineTo",x,y],["arcTo",x1,y1,x2,y2,r],["closePath"]]。 DrawPathCmd pen : Object (可选)画笔定义,支持以下设置{strokeStyle,lineWidth,lineJoin:"bevel|round|miter",lineCap:"butt|round|square",miterLimit}。 DrawPathCmd x : Number ...
来源: Laya2.0_api 发布时间: 20190513
... * @param y0 点一的 Y 轴坐标值。 * @param x1 点二的 X 轴坐标值。 * @param y1 点二的 Y 轴坐标值。 * @return 弧度值。 */ static getRotation(x0:number,y0:number,x1:number,y1:number):n...
来源: Laya_社区 发布时间: 20191022