This repository was archived by the owner on Dec 13, 2025. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 123
VRageMath.RectangleF
Morten Aune Lyrstad edited this page Apr 16, 2022
·
54 revisions
← Index ← Namespace Index
public struct RectangleF: IEquatable<RectangleF>Structure using the same layout than System.Drawing.RectangleF
Namespace: VRageMath
Assembly: VRage.Math.dll
Implements:
| Member | Description |
|---|---|
| [Vector2 Position](VRageMath.RectangleF.Position) | The Position. |
| [Vector2 Size](VRageMath.RectangleF.Size) | The Size. |
| Member | Description |
|---|---|
| [float Bottom { get; }](VRageMath.RectangleF.Bottom) | |
| [Vector2 Center { get; }](VRageMath.RectangleF.Center) | |
| [float Height { get; set; }](VRageMath.RectangleF.Height) | Height of this rectangle. |
| [float Right { get; }](VRageMath.RectangleF.Right) | |
| [float Width { get; set; }](VRageMath.RectangleF.Width) | Width of this rectangle. |
| [float X { get; set; }](VRageMath.RectangleF.X) | Left coordinate. |
| [float Y { get; set; }](VRageMath.RectangleF.Y) | Top coordinate. |
| Member | Description |
|---|---|
| [RectangleF(Vector2, Vector2)](VRageMath.RectangleF..ctor) | |
| [RectangleF(float, float, float, float)](VRageMath.RectangleF..ctor) |
| Member | Description |
|---|---|
| [static bool Intersect(ref RectangleF, ref RectangleF, out RectangleF)](VRageMath.RectangleF.Intersect) | Creates a Rectangle defining the area where one rectangle overlaps with another rectangle. |
| [static RectangleF Min(RectangleF?, RectangleF?)](VRageMath.RectangleF.Min) | |
| [bool Contains(int, int)](VRageMath.RectangleF.Contains) | |
| [bool Contains(float, float)](VRageMath.RectangleF.Contains) | |
| [bool Contains(Vector2)](VRageMath.RectangleF.Contains) | |
| [bool Contains(Point)](VRageMath.RectangleF.Contains) | |
| [bool Equals(RectangleF)](VRageMath.RectangleF.Equals) | Equals to other rectangle |
| [bool Equals(object)](VRageMath.RectangleF.Equals) | |
| [int GetHashCode()](VRageMath.RectangleF.GetHashCode) | |
| [string ToString()](VRageMath.RectangleF.ToString) |
Do you have questions, comments, suggestions for improvements? Is there something I can do better? Did I make a mistake? Please add an issue here, and prefix your issue title with Wiki. Thank you, your help will be very appreciated!