@@ -331,7 +331,7 @@ import openfl.geom.Point;
331
331
332
332
/**
333
333
* Adds the coordinates of another point to the coordinates of this point.
334
- * @since 5.10 .0
334
+ * @since 6.0 .0
335
335
*
336
336
* @param point The point to add to this point
337
337
* @return This point.
@@ -345,7 +345,7 @@ import openfl.geom.Point;
345
345
346
346
/**
347
347
* Adds the coordinates of another point to the coordinates of this point.
348
- * @since 5.10 .0
348
+ * @since 6.0 .0
349
349
*
350
350
* @param p Any Point.
351
351
* @return A reference to the altered point parameter.
@@ -364,7 +364,7 @@ import openfl.geom.Point;
364
364
* @param point The point to add to this point
365
365
* @return This point.
366
366
*/
367
- // @:deprecated("addPoint is deprecated, use add(point), instead")// 5.10 .0
367
+ // @:deprecated("addPoint is deprecated, use add(point), instead")// 6.0 .0
368
368
public inline function addPoint (point : FlxPoint ): FlxPoint
369
369
{
370
370
return add (point );
@@ -386,7 +386,7 @@ import openfl.geom.Point;
386
386
387
387
/**
388
388
* Subtracts the coordinates of another point from the coordinates of this point.
389
- * @since 5.10 .0
389
+ * @since 6.0 .0
390
390
*
391
391
* @param point The point to subtract from this point
392
392
* @return This point.
@@ -400,7 +400,7 @@ import openfl.geom.Point;
400
400
401
401
/**
402
402
* Subtracts the coordinates of another point from the coordinates of this point.
403
- * @since 5.10 .0
403
+ * @since 6.0 .0
404
404
*
405
405
* @param point The point to subtract from this point
406
406
* @return This point.
@@ -417,7 +417,7 @@ import openfl.geom.Point;
417
417
* @param point The point to subtract from this point
418
418
* @return This point.
419
419
*/
420
- // @:deprecated("subtractPoint is deprecated, use subtract(point), instead")// 5.10 .0
420
+ // @:deprecated("subtractPoint is deprecated, use subtract(point), instead")// 6.0 .0
421
421
public inline function subtractPoint (point : FlxPoint ): FlxPoint
422
422
{
423
423
subtract (point .x , point .y );
@@ -441,7 +441,7 @@ import openfl.geom.Point;
441
441
442
442
/**
443
443
* Scale this point.
444
- * @since 5.10 .0
444
+ * @since 6.0 .0
445
445
*
446
446
* @param amount The scale coefficient
447
447
* @return this point
@@ -455,7 +455,7 @@ import openfl.geom.Point;
455
455
456
456
/**
457
457
* Scale this point by another point.
458
- * @since 5.10 .0
458
+ * @since 6.0 .0
459
459
*
460
460
* @param point The x and y scale coefficient
461
461
* @return this point
@@ -472,7 +472,7 @@ import openfl.geom.Point;
472
472
* @param point The x and y scale coefficient
473
473
* @return scaled point
474
474
*/
475
- // @:deprecated("scalePoint is deprecated, use scale(point), instead")// 5.10 .0
475
+ // @:deprecated("scalePoint is deprecated, use scale(point), instead")// 6.0 .0
476
476
public inline function scalePoint (point : FlxPoint ): FlxPoint
477
477
{
478
478
scale (point .x , point .y );
@@ -528,7 +528,7 @@ import openfl.geom.Point;
528
528
529
529
/**
530
530
* Helper function, just copies the values from the specified Flash point.
531
- * @since 5.10 .0
531
+ * @since 6.0 .0
532
532
*
533
533
* @param p Any Point.
534
534
* @return A reference to itself.
@@ -544,7 +544,7 @@ import openfl.geom.Point;
544
544
* @param p Any Point.
545
545
* @return A reference to itself.
546
546
*/
547
- // @:deprecated("copyFromFlash is deprecated, use copyFrom, instead")// 5.10 .0
547
+ // @:deprecated("copyFromFlash is deprecated, use copyFrom, instead")// 6.0 .0
548
548
public inline function copyFromFlash (p : Point ): FlxPoint
549
549
{
550
550
return this .set (p .x , p .y );
@@ -567,7 +567,7 @@ import openfl.geom.Point;
567
567
568
568
/**
569
569
* Helper function, just copies the values from this point to the specified Flash point.
570
- * @since 5.10 .0
570
+ * @since 6.0 .0
571
571
*
572
572
* @param p Any Point.
573
573
* @return A reference to the altered point parameter.
@@ -585,7 +585,7 @@ import openfl.geom.Point;
585
585
* @param p Any Point.
586
586
* @return A reference to the altered point parameter.
587
587
*/
588
- // @:deprecated("copyToFlash is deprecated, use copyTo, instead")// 5.10 .0
588
+ // @:deprecated("copyToFlash is deprecated, use copyTo, instead")// 6.0 .0
589
589
public inline function copyToFlash (? p : Point ): Point
590
590
{
591
591
return copyTo (p != null ? p : new Point ());
@@ -721,7 +721,7 @@ import openfl.geom.Point;
721
721
722
722
/**
723
723
* Calculate the distance to another position
724
- * @since 5.10 .0
724
+ * @since 6.0 .0
725
725
*
726
726
* @return The distance between the two positions as a Float.
727
727
*/
@@ -732,7 +732,7 @@ import openfl.geom.Point;
732
732
733
733
/**
734
734
* Calculate the squared distance to another point.
735
- * @since 5.10 .0
735
+ * @since 6.0 .0
736
736
*
737
737
* @param point A FlxPoint object to calculate the distance to.
738
738
* @return The distance between the two points as a Float.
@@ -746,7 +746,7 @@ import openfl.geom.Point;
746
746
747
747
/**
748
748
* Calculate the distance to another position
749
- * @since 5.10 .0
749
+ * @since 6.0 .0
750
750
*
751
751
* @return The distance between the two positions as a Float.
752
752
*/
@@ -1318,7 +1318,7 @@ import openfl.geom.Point;
1318
1318
1319
1319
/**
1320
1320
* The distance between points
1321
- * @since 5.10 .0
1321
+ * @since 6.0 .0
1322
1322
*/
1323
1323
public overload inline extern function dist (x : Float , y : Float ): Float
1324
1324
{
@@ -1343,7 +1343,7 @@ import openfl.geom.Point;
1343
1343
1344
1344
/**
1345
1345
* The squared distance between positions
1346
- * @since 5.10 .0
1346
+ * @since 6.0 .0
1347
1347
*/
1348
1348
public overload inline extern function distSquared (x : Float , y : Float ): Float
1349
1349
{
@@ -1665,7 +1665,7 @@ class FlxBasePoint implements IFlxPooled
1665
1665
/**
1666
1666
* A point that, once set, cannot be changed. Useful for objects
1667
1667
* that want to expose a readonly `x` and `y` value
1668
- * @since 5.10 .0
1668
+ * @since 6.0 .0
1669
1669
*/
1670
1670
@:forward
1671
1671
@:forward.new
0 commit comments