This repository has been archived by the owner on Oct 22, 2024. It is now read-only.
-
Notifications
You must be signed in to change notification settings - Fork 125
VRageMath.RectangleF
Morten Aune Lyrstad edited this page Feb 3, 2022
·
53 revisions
← Index ← Namespace Index
public struct RectangleF: IEquatable<VRageMath.RectangleF>
Structure using the same layout than System.Drawing.RectangleF
Namespace: VRageMath
Assembly: VRage.Math.dll
Implements:
Member | Description |
---|---|
Position | The Position. |
Size | The Size. |
Member | Description |
---|---|
X { get; set; } | Left coordinate. |
Y { get; set; } | Top coordinate. |
Width { get; set; } | Width of this rectangle. |
Height { get; set; } | Height of this rectangle. |
Right { get; } | |
Bottom { get; } | |
Center { get; } |
Member | Description |
---|---|
RectangleF(Vector2, Vector2) | |
RectangleF(float, float, float, float) |
Member | Description |
---|---|
Contains(int, int) | |
Contains(float, float) | |
Contains(Vector2) | |
Contains(Point) | |
Equals(RectangleF) | Equals to other rectangle |
Intersect(ref RectangleF, ref RectangleF, out RectangleF) | Creates a Rectangle defining the area where one rectangle overlaps with another rectangle. |
Equals(object) | |
GetHashCode() | |
ToString() | |
Min(RectangleF?, RectangleF?) |
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!