Terraria v1.4.4.9
Terraria source code documentation
Loading...
Searching...
No Matches
System.Drawing.SizeF Struct Reference

Public Member Functions

 SizeF (SizeF size)
 
 SizeF (PointF pt)
 
 SizeF (Vector2 vector)
 
Vector2 ToVector2 ()
 
 SizeF (float width, float height)
 
override readonly bool Equals ([NotNullWhen(true)] object? obj)
 
readonly bool Equals (SizeF other)
 
override readonly int GetHashCode ()
 
readonly PointF ToPointF ()
 
readonly Size ToSize ()
 
override readonly string ToString ()
 
bool Equals (T? other)
 

Static Public Member Functions

static operator Vector2 (SizeF size)
 
static operator SizeF (Vector2 vector)
 
static SizeF operator+ (SizeF sz1, SizeF sz2)
 
static SizeF operator- (SizeF sz1, SizeF sz2)
 
static SizeF operator* (float left, SizeF right)
 
static SizeF operator* (SizeF left, float right)
 
static SizeF operator/ (SizeF left, float right)
 
static bool operator== (SizeF sz1, SizeF sz2)
 
static bool operator!= (SizeF sz1, SizeF sz2)
 
static operator PointF (SizeF size)
 
static SizeF Add (SizeF sz1, SizeF sz2)
 
static SizeF Subtract (SizeF sz1, SizeF sz2)
 

Static Public Attributes

static readonly SizeF Empty
 

Properties

readonly bool IsEmpty [get]
 
float Width [get, set]
 
float Height [get, set]
 

Static Private Member Functions

static SizeF Multiply (SizeF size, float multiplier)
 

Private Attributes

float width
 
float height
 

Detailed Description

Definition at line 11 of file SizeF.cs.


The documentation for this struct was generated from the following file: