diff options
Diffstat (limited to 'libs/open-flash-chart/actionscript/Square.as')
-rw-r--r-- | libs/open-flash-chart/actionscript/Square.as | 19 |
1 files changed, 19 insertions, 0 deletions
diff --git a/libs/open-flash-chart/actionscript/Square.as b/libs/open-flash-chart/actionscript/Square.as new file mode 100644 index 0000000000..171e5045d0 --- /dev/null +++ b/libs/open-flash-chart/actionscript/Square.as @@ -0,0 +1,19 @@ +class Square
+{
+ public var top:Number=0;
+ public var left:Number=0;
+ public var right:Number=0;
+ public var bottom:Number=0;
+ public var width:Number=0;
+ public var height:Number=0;
+
+ public function Square( left:Number, top:Number, right:Number, bottom:Number )
+ {
+ this.top = top;
+ this.left = left;
+ this.right = right;
+ this.bottom = bottom;
+ this.width = right-left;
+ this.height = bottom-top;
+ }
+}
\ No newline at end of file |