VRageMath
RectangleF
Assembly: VRage.Math.dll
public struct RectangleF: IEquatable<RectangleF>
Structure using the same layout than RectangleF
Fields
| Member | Description |
|---|---|
| Position | The Position. |
| Size | The Size. |
Properties
| Member | Description |
|---|---|
| Bottom | |
| Center | |
| Height | Height of this rectangle. |
| Right | |
| Width | Width of this rectangle. |
| X | Left coordinate. |
| Y | Top coordinate. |
Constructors
| Member | Description |
|---|---|
| RectangleF(Vector2, Vector2) | |
| RectangleF(float, float, float, float) |
Methods
| Member | Description |
|---|---|
| static Intersect(ref RectangleF, ref RectangleF, out RectangleF) | Creates a Rectangle defining the area where one rectangle overlaps with another rectangle. |
| static Min(RectangleF?, RectangleF?) | |
| Contains(int, int) | |
| Contains(float, float) | |
| Contains(Vector2) | |
| Contains(Point) | |
| Equals(RectangleF) | Equals to other rectangle |
| Equals(object) | |
| GetHashCode() | |
| ToString() |
Implements: