VRageMath.RectangleF - bimbam2103/space_engineers GitHub Wiki
← 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