home *** CD-ROM | disk | FTP | other *** search
/ 404 Jogos / CLJG.iso / Puzzle / filler.swf / scripts / mx / core / EdgeMetrics.as < prev    next >
Text File  |  2008-09-02  |  820b  |  36 lines

  1. package mx.core
  2. {
  3.    use namespace mx_internal;
  4.    
  5.    public class EdgeMetrics
  6.    {
  7.       
  8.       mx_internal static const VERSION:String = "2.0.1.0";
  9.       
  10.       public static var EMPTY:EdgeMetrics = new EdgeMetrics(0,0,0,0);
  11.        
  12.       
  13.       public var bottom:Number;
  14.       
  15.       public var top:Number;
  16.       
  17.       public var right:Number;
  18.       
  19.       public var left:Number;
  20.       
  21.       public function EdgeMetrics(param1:Number = 0, param2:Number = 0, param3:Number = 0, param4:Number = 0)
  22.       {
  23.          super();
  24.          this.left = param1;
  25.          this.top = param2;
  26.          this.right = param3;
  27.          this.bottom = param4;
  28.       }
  29.       
  30.       public function clone() : EdgeMetrics
  31.       {
  32.          return new EdgeMetrics(left,top,right,bottom);
  33.       }
  34.    }
  35. }
  36.