-
Notifications
You must be signed in to change notification settings - Fork 123
VRageMath.RectangleF
← Index ← Namespace Index
public struct RectangleF: IEquatable<RectangleF>
Structure using the same layout than System.Drawing.RectangleF
Namespace: VRageMath
Assembly: VRage.Math.dll
Implements:
The Position.
The Size.
Height of this rectangle.
Width of this rectangle.
Left coordinate.
Top coordinate.
RectangleF(Vector2 position, Vector2 size)
RectangleF(float x, float y, float width, float height)
static bool Intersect(ref RectangleF value1, ref RectangleF value2, out RectangleF result)
Creates a Rectangle defining the area where one rectangle overlaps with another rectangle.
static RectangleF Min(RectangleF? rectangle, RectangleF? scissors)
bool Contains(float x, float y)
bool Contains(Vector2 vector2D)
Equals to other rectangle
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!