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
Type |
Description |
System.Single |
|
IsEmpty
Declaration
public bool IsEmpty { get; }
Property Value
Type |
Description |
System.Boolean |
|
Width
Declaration
public float Width { get; set; }
Property Value
Type |
Description |
System.Single |
|
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
Type |
Description |
System.Boolean |
|
GetHashCode()
Declaration
public override int GetHashCode()
Returns
Type |
Description |
System.Int32 |
|
Subtract(SizeF, SizeF)
Declaration
public static SizeF Subtract(SizeF sz1, SizeF sz2)
Parameters
Returns
ToSize()
Declaration
Returns
ToString()
Declaration
public override string ToString()
Returns
Type |
Description |
System.String |
|
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
Type |
Description |
System.Boolean |
|
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
Type |
Description |
System.Boolean |
|
Subtraction(SizeF, SizeF)
Declaration
public static SizeF operator -(SizeF sz1, SizeF sz2)
Parameters
Returns