Struct SizeF
Stores an ordered pair of floating-point numbers, typically the width and height of a rectangle.
public struct SizeF
- Inherited Members
Constructors
- SizeF(PointF)
Initializes a new instance of the SizeF structure from the specified PointF.
- SizeF(SizeF)
Initializes a new instance of the SizeF structure from the specified SizeF.
- SizeF(float, float)
Initializes a new instance of the SizeF structure from the specified dimensions.
- SizeF(float, float, float)
Initializes a new instance of the SizeF struct.
Properties
- Depth
Gets or sets the depth.
Methods
- Add(SizeF, SizeF)
Adds the width and height of one SizeF structure to the width and height of another SizeF structure.
- Equals(object)
Tests to see whether the specified object is a SizeF with the same dimensions as this SizeF.
- GetHashCode()
Returns a hash code for this Size structure.
- Subtract(SizeF, SizeF)
Subtracts the width and height of one SizeF structure from the width and height of another SizeF structure.
- ToString()
Creates a human-readable string that represents this SizeF.
Operators
- operator +(SizeF, SizeF)
Adds the width and height of one SizeF structure to the width and height of another SizeF structure.
- operator ==(SizeF, SizeF)
Tests whether two SizeF structures are equal.
- operator !=(SizeF, SizeF)
Tests whether two SizeF structures are different.
- operator -(SizeF, SizeF)
Subtracts the width and height of one SizeF structure from the width and height of another SizeF structure.