Struct Size
Size structure
public struct Size
- Inherited Members
Constructors
Size(int, int)
public Size(int width, int height)
Parameters
Fields
Empty
Empty Size object
public static readonly Size Empty
Field Value
Properties
Height
public int Height { get; set; }
Property Value
IsEmpty
public bool IsEmpty { get; }
Property Value
Width
public int Width { get; set; }
Property Value
Methods
Equals(object)
public override bool Equals(object obj)
Parameters
objobject
Returns
GetHashCode()
public override int GetHashCode()
Returns
ToString()
public override string ToString()
Returns
Operators
operator +(Size, Size)
public static Size operator +(Size sz1, Size sz2)
Parameters
Returns
operator /(Size, int)
public static Size operator /(Size sz, int divisor)
Parameters
Returns
operator ==(Size, Size)
public static bool operator ==(Size size1, Size size2)
Parameters
Returns
operator !=(Size, Size)
public static bool operator !=(Size size1, Size size2)
Parameters
Returns
operator *(Size, int)
public static Size operator *(Size sz, int multiplier)
Parameters
Returns
operator -(Size, Size)
public static Size operator -(Size sz1, Size sz2)