Packageorg.apache.flex.utils
Classpublic class PointUtils
InheritancePointUtils Inheritance Object

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

The PointUtils class is a collection of static functions that convert Points between coordinate spaces.



Public Methods
 MethodDefined By
  
globalToLocal(pt:Point, local:Object):Point
[static] Converts a point from global coordinates to local coordinates
PointUtils
  
localToGlobal(pt:Point, local:Object):Point
[static] Converts a point from local coordinates to global coordinates
PointUtils
Method Detail
globalToLocal()method
public static function globalToLocal(pt:Point, local:Object):Point

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

Converts a point from global coordinates to local coordinates

Parameters

pt:Point — The point being converted.
 
local:Object — The component used as reference for the conversion.

Returns
Point
localToGlobal()method 
public static function localToGlobal(pt:Point, local:Object):Point

Language Version : ActionScript 3.0
Product Version : FlexJS 0.0
Runtime Versions : Flash Player 10.2, AIR 2.6

Converts a point from local coordinates to global coordinates

Parameters

pt:Point — The point being converted.
 
local:Object — The component used as reference for the conversion.

Returns
Point