~ubuntu-branches/ubuntu/oneiric/haxe/oneiric

« back to all changes in this revision

Viewing changes to haxe/std/flash9/geom/Rectangle.hx

  • Committer: Bazaar Package Importer
  • Author(s): Jens Peter Secher
  • Date: 2009-03-18 23:09:50 UTC
  • mfrom: (3.1.1 experimental)
  • Revision ID: james.westby@ubuntu.com-20090318230950-pgfuxg2ucolps74t
Tags: 1:2.2-2
* Use ocamlfind to locate and use the libraries xml-light and extlib
  which already exist in Debian as separate packages.
  (Closes: #519630)
* Fixed compile error with camlp4 3.11, thanks to Stéphane Glondu.
  (Closes: #519627)
* Use quilt instead of dpatch for patches, and describe how to use
  quilt in Debian.source (thanks to Russ Allbery).
* Added a Vcs-Hg control filed to indicate the location of the public
  repository.
* Bumped Standards-Version to 3.8.1.

Show diffs side-by-side

added added

removed removed

Lines of Context:
1
1
package flash.geom;
2
2
 
3
3
extern class Rectangle {
4
 
        function new(?x : Float, ?y : Float, ?width : Float, ?height : Float) : Void;
5
4
        var bottom : Float;
6
 
        var bottomRight : flash.geom.Point;
7
 
        function clone() : flash.geom.Rectangle;
8
 
        function contains(x : Float, y : Float) : Bool;
9
 
        function containsPoint(point : flash.geom.Point) : Bool;
10
 
        function containsRect(rect : flash.geom.Rectangle) : Bool;
11
 
        function equals(toCompare : flash.geom.Rectangle) : Bool;
 
5
        var bottomRight : Point;
12
6
        var height : Float;
13
 
        function inflate(dx : Float, dy : Float) : Void;
14
 
        function inflatePoint(point : flash.geom.Point) : Void;
15
 
        function intersection(toIntersect : flash.geom.Rectangle) : flash.geom.Rectangle;
16
 
        function intersects(toIntersect : flash.geom.Rectangle) : Bool;
17
 
        function isEmpty() : Bool;
18
7
        var left : Float;
19
 
        function offset(dx : Float, dy : Float) : Void;
20
 
        function offsetPoint(point : flash.geom.Point) : Void;
21
8
        var right : Float;
22
 
        function setEmpty() : Void;
23
 
        var size : flash.geom.Point;
24
 
        function toString() : String;
 
9
        var size : Point;
25
10
        var top : Float;
26
 
        var topLeft : flash.geom.Point;
27
 
        function union(toUnion : flash.geom.Rectangle) : flash.geom.Rectangle;
 
11
        var topLeft : Point;
28
12
        var width : Float;
29
13
        var x : Float;
30
14
        var y : Float;
 
15
        function new(?x : Float, ?y : Float, ?width : Float, ?height : Float) : Void;
 
16
        function clone() : Rectangle;
 
17
        function contains(x : Float, y : Float) : Bool;
 
18
        function containsPoint(point : Point) : Bool;
 
19
        function containsRect(rect : Rectangle) : Bool;
 
20
        function equals(toCompare : Rectangle) : Bool;
 
21
        function inflate(dx : Float, dy : Float) : Void;
 
22
        function inflatePoint(point : Point) : Void;
 
23
        function intersection(toIntersect : Rectangle) : Rectangle;
 
24
        function intersects(toIntersect : Rectangle) : Bool;
 
25
        function isEmpty() : Bool;
 
26
        function offset(dx : Float, dy : Float) : Void;
 
27
        function offsetPoint(point : Point) : Void;
 
28
        function setEmpty() : Void;
 
29
        function toString() : String;
 
30
        function union(toUnion : Rectangle) : Rectangle;
31
31
}