9[TypeForwardedFrom(
"System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
10[
TypeConverter(
"System.Drawing.SizeFConverter, System.Drawing, Version=4.0.0.0, Culture=neutral, PublicKeyToken=b03f5f7f11d50a3a")]
87 return size.ToVector2();
92 return new SizeF(vector);
124 return sz1.Height == sz2.
Height;
131 return !(sz1 == sz2);
136 return new PointF(size.Width, size.Height);
149 public override readonly
bool Equals([NotNullWhen(
true)]
object?
obj)
160 return this ==
other;
180 return $
"{{Width={width}, Height={height}}}";
185 return new SizeF(size.width * multiplier, size.height * multiplier);
override readonly string ToString()
static SizeF Subtract(SizeF sz1, SizeF sz2)
static readonly SizeF Empty
override readonly int GetHashCode()
SizeF(float width, float height)
readonly PointF ToPointF()
static SizeF operator+(SizeF sz1, SizeF sz2)
readonly bool Equals(SizeF other)
static SizeF operator-(SizeF sz1, SizeF sz2)
static SizeF operator/(SizeF left, float right)
override readonly bool Equals([NotNullWhen(true)] object? obj)
static SizeF Multiply(SizeF size, float multiplier)
static bool operator==(SizeF sz1, SizeF sz2)
static SizeF operator*(float left, SizeF right)
static bool operator!=(SizeF sz1, SizeF sz2)
static SizeF Add(SizeF sz1, SizeF sz2)
static Size Truncate(SizeF value)