8[TypeForwardedFrom(
"System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
9[
TypeConverter(
"System.Drawing.SizeConverter, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
116 return sz1.Height == sz2.
Height;
123 return !(sz1 == sz2);
128 return new Point(size.Width, size.Height);
156 public override readonly
bool Equals([NotNullWhen(
true)]
object?
obj)
167 return this ==
other;
177 return $
"{{Width={width}, Height={height}}}";
182 return new Size(size.width * multiplier, size.height * multiplier);
187 return new SizeF((
float)size.width * multiplier, (
float)size.height * multiplier);
static decimal Round(decimal d)
static double Ceiling(double a)
static SizeF Multiply(Size size, float multiplier)
static readonly Size Empty
readonly bool Equals(Size other)
override readonly string ToString()
Size(int width, int height)
static Size operator+(Size sz1, Size sz2)
override readonly int GetHashCode()
static Size Truncate(SizeF value)
override readonly bool Equals([NotNullWhen(true)] object? obj)
static Size operator/(Size left, int right)
static Size Subtract(Size sz1, Size sz2)
static Size Add(Size sz1, Size sz2)
static bool operator==(Size sz1, Size sz2)
static Size Multiply(Size size, int multiplier)
static bool operator!=(Size sz1, Size sz2)
static Size Ceiling(SizeF value)
static Size Round(SizeF value)
static Size operator-(Size sz1, Size sz2)
static Size operator*(int left, Size right)