Packagecom.rubenswieringa.geom
Classpublic class SuperPoint

Provides additional functionality for working with Points.



Public Methods
 MethodDefined by
  
round(point:Point, factor:uint = 1):Point
[static] Rounds the x and y values of a Point instance.
SuperPoint
Method detail
round()method
public static function round(point:Point, factor:uint = 1):Point

Rounds the x and y values of a Point instance.

Parameters
point:Point
 
factor:uint (default = 1)

Returns
Point — A new Point instance storing the round coordinate.