Terraria v1.4.4.9
Terraria source code documentation
|
Public Member Functions | |
RectangleF (float x, float y, float width, float height) | |
RectangleF (PointF location, SizeF size) | |
RectangleF (Vector4 vector) | |
Vector4 | ToVector4 () |
override readonly bool | Equals ([NotNullWhen(true)] object? obj) |
readonly bool | Equals (RectangleF other) |
readonly bool | Contains (float x, float y) |
readonly bool | Contains (PointF pt) |
readonly bool | Contains (RectangleF rect) |
override readonly int | GetHashCode () |
void | Inflate (float x, float y) |
void | Inflate (SizeF size) |
void | Intersect (RectangleF rect) |
readonly bool | IntersectsWith (RectangleF rect) |
void | Offset (PointF pos) |
void | Offset (float x, float y) |
override readonly string | ToString () |
bool | Equals (T? other) |
Static Public Member Functions | |
static | operator Vector4 (RectangleF rectangle) |
static | operator RectangleF (Vector4 vector) |
static RectangleF | FromLTRB (float left, float top, float right, float bottom) |
static bool | operator== (RectangleF left, RectangleF right) |
static bool | operator!= (RectangleF left, RectangleF right) |
static RectangleF | Inflate (RectangleF rect, float x, float y) |
static RectangleF | Intersect (RectangleF a, RectangleF b) |
static RectangleF | Union (RectangleF a, RectangleF b) |
static implicit | operator RectangleF (Rectangle r) |
Static Public Attributes | |
static readonly RectangleF | Empty |
Properties | |
PointF | Location [get, set] |
SizeF | Size [get, set] |
float | X [get, set] |
float | Y [get, set] |
float | Width [get, set] |
float | Height [get, set] |
readonly float | Left [get] |
readonly float | Top [get] |
readonly float | Right [get] |
readonly float | Bottom [get] |
readonly bool | IsEmpty [get] |
Private Attributes | |
float | x |
float | y |
float | width |
float | height |
Definition at line 10 of file RectangleF.cs.