Use the $original as the $result.
级联的当前最终值.
将两个点相加,并将结果作为新的点对象返回.
Second point.
可选的布尔值减去而不是加法.
this cascade container, this.$result will be A new point object.
获取两点中间值.
Second point.
this cascade container, this.$result will be New point object which is the average of a and b.
克隆点.
this cascade container, this.$result will be A new point with same values as the original.
从点数组中,找到与给定参考点最近的点.
Array of points to choose from.
this cascade container, this.$result will be The first closest point from the pointOptions.
扭曲点.
The amount of x scaling.
The amount of y scaling.
this cascade container, this.$result will be A new point.
创建点的克隆,在 x 轴和 y 轴上或两个轴上镜像.
Boolean to mirror on the x axis.
Boolean to mirror on the y axis.
this cascade container, this.$result will be Mirrored point.
旋转点.
The amount of rotation, in degrees.
(default [0, 0]) The center point of rotation.
this cascade container, this.$result will be A new point.
四舍五入点的值.
Optional exemplar number of decimal places.
this cascade container, this.$result will be A new point with the values rounded.
缩放点的坐标.
The amount of scaling.
The basePoint of scaling.
this cascade container, this.$result will be A new point.
从另一个点减去一个点,并将结果作为新点返回. Add(a, b, subtract = true).
Second point.
this cascade container, this.$result will be A new point object.
Generated using TypeDoc
级联的初始上下文对象.