Public Member Functions | |
| RectangleF (float x, float y, float width, float height) | |
| Constructs a RectangleF. | |
| RectangleF (PointF pt, SizeF sz) | |
| Construts a RectangleF. | |
| bool | Contains (int x, int y) |
| Returns true if the RectangleF contains the specified PointF. | |
| bool | Contains (PointF pt) |
| Returns true if the RectangleF contains the specified PointF. | |
| bool | Contains (RectangleF rect) |
| Returns true if the RectangleF entirely contains the specified RectangleF. | |
| override int | GetHashCode () |
| Gets a hash code. | |
| override string | ToString () |
| Creates a string representing this RectangleF. | |
| override bool | Equals (object obj) |
| Equality test. | |
| bool | Equals (RectangleF obj) |
| Equality test. | |
| bool | IntersectsWith (RectangleF rect) |
| Returns true if this intersects another RectangleF. | |
Static Public Member Functions | |
| static RectangleF | FromLTRB (float left, float top, float right, float bottom) |
| Static method which returns a RectangleF with specified left, top, right and bottom. | |
| static bool | operator== (RectangleF a, RectangleF b) |
| Equality comparison test. | |
| static bool | operator!= (RectangleF a, RectangleF b) |
| Inequality comparison test. | |
| static RectangleF | Intersect (RectangleF a, RectangleF b) |
| Static method returning the intersection of two RectangleFs. | |
Public Attributes | |
| PointF | pt |
| SizeF | sz |
Static Public Attributes | |
| static readonly RectangleF | Empty = new RectangleF(0, 0, 0, 0) |
| Empty RectangleF. | |
Properties | |
| float | X [get, set] |
| X value. | |
| float | Y [get, set] |
| Y value. | |
| float | Width [get, set] |
| Width. | |
| float | Height [get, set] |
| Height. | |
| float | Bottom [get] |
| Gets bottom. | |
| float | Left [get] |
| Gets left. | |
| float | Top [get] |
| Gets top. | |
| float | Right [get] |
| Gets right. | |
| PointF | Location [get, set] |
| Gets or sets top-left PointF. | |
| SizeF | Size [get, set] |
| Gets or sets SizeF. | |
| bool | IsEmpty [get] |
| True if this is (0,0,0,0). | |
| AgateLib.Geometry.RectangleF.RectangleF | ( | float | x, | |
| float | y, | |||
| float | width, | |||
| float | height | |||
| ) |
| bool AgateLib.Geometry.RectangleF.Contains | ( | RectangleF | rect | ) |
Returns true if the RectangleF entirely contains the specified RectangleF.
| rect |
| bool AgateLib.Geometry.RectangleF.Contains | ( | PointF | pt | ) |
| bool AgateLib.Geometry.RectangleF.Contains | ( | int | x, | |
| int | y | |||
| ) |
| bool AgateLib.Geometry.RectangleF.Equals | ( | RectangleF | obj | ) |
Equality test.
| obj |
| override bool AgateLib.Geometry.RectangleF.Equals | ( | object | obj | ) |
Equality test.
| obj |
| static RectangleF AgateLib.Geometry.RectangleF.FromLTRB | ( | float | left, | |
| float | top, | |||
| float | right, | |||
| float | bottom | |||
| ) | [static] |
Static method which returns a RectangleF with specified left, top, right and bottom.
| left | ||
| top | ||
| right | ||
| bottom |
| override int AgateLib.Geometry.RectangleF.GetHashCode | ( | ) |
Gets a hash code.
| static RectangleF AgateLib.Geometry.RectangleF.Intersect | ( | RectangleF | a, | |
| RectangleF | b | |||
| ) | [static] |
Static method returning the intersection of two RectangleFs.
| a | ||
| b |
| bool AgateLib.Geometry.RectangleF.IntersectsWith | ( | RectangleF | rect | ) |
| static bool AgateLib.Geometry.RectangleF.operator!= | ( | RectangleF | a, | |
| RectangleF | b | |||
| ) | [static] |
Inequality comparison test.
| a | ||
| b |
| static bool AgateLib.Geometry.RectangleF.operator== | ( | RectangleF | a, | |
| RectangleF | b | |||
| ) | [static] |
Equality comparison test.
| a | ||
| b |
| override string AgateLib.Geometry.RectangleF.ToString | ( | ) |
readonly RectangleF AgateLib.Geometry.RectangleF.Empty = new RectangleF(0, 0, 0, 0) [static] |
Empty RectangleF.
float AgateLib.Geometry.RectangleF.Bottom [get] |
Gets bottom.
float AgateLib.Geometry.RectangleF.Height [get, set] |
Height.
bool AgateLib.Geometry.RectangleF.IsEmpty [get] |
True if this is (0,0,0,0).
float AgateLib.Geometry.RectangleF.Left [get] |
Gets left.
float AgateLib.Geometry.RectangleF.Right [get] |
Gets right.
float AgateLib.Geometry.RectangleF.Top [get] |
Gets top.
float AgateLib.Geometry.RectangleF.Width [get, set] |
Width.
float AgateLib.Geometry.RectangleF.X [get, set] |
X value.
float AgateLib.Geometry.RectangleF.Y [get, set] |
Y value.
|
AgateLib Awesome Game and Tool Engine Library |
|