Class SizeF
Inheritance
System.Object
SizeF
Assembly: Syncfusion.Compression.Portable.dll
Syntax
public sealed class SizeF : ValueType
Constructors
SizeF(SizeF)
Declaration
Parameters
Type |
Name |
Description |
SizeF |
size |
|
SizeF(Single, Single)
Declaration
public SizeF(float width, float height)
Parameters
Type |
Name |
Description |
System.Single |
width |
|
System.Single |
height |
|
Fields
Empty
Declaration
public static readonly SizeF Empty
Field Value
Properties
Height
Declaration
public float Height { get; set; }
Property Value
IsEmpty
Declaration
public bool IsEmpty { get; }
Property Value
Width
Declaration
public float Width { get; set; }
Property Value
Methods
Add(SizeF, SizeF)
Declaration
public static SizeF Add(SizeF sz1, SizeF sz2)
Parameters
Returns
Equals(Object)
Declaration
public override bool Equals(object obj)
Parameters
Type |
Name |
Description |
System.Object |
obj |
|
Returns
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Subtract(SizeF, SizeF)
Declaration
public static SizeF Subtract(SizeF sz1, SizeF sz2)
Parameters
Returns
ToSize()
Declaration
Returns
ToString()
Declaration
public override string ToString()
Returns
Operators
Addition(SizeF, SizeF)
Declaration
public static SizeF operator +(SizeF sz1, SizeF sz2)
Parameters
Returns
Equality(SizeF, SizeF)
Declaration
public static bool operator ==(SizeF sz1, SizeF sz2)
Parameters
Returns
Explicit(SizeF to PointF)
Declaration
public static explicit operator PointF(SizeF size)
Parameters
Type |
Name |
Description |
SizeF |
size |
|
Returns
Inequality(SizeF, SizeF)
Declaration
public static bool operator !=(SizeF sz1, SizeF sz2)
Parameters
Returns
Subtraction(SizeF, SizeF)
Declaration
public static SizeF operator -(SizeF sz1, SizeF sz2)
Parameters
Returns