Click or drag to resize

SizeF Methods

The SizeF type exposes the following members.

Methods
  NameDescription
Public methodStatic memberAbs
Returns the absolute width and height of the specified size
Public methodContains(PointF)
Gets a value indicating that the specified point is within the Width and Height of this size
Public methodContains(Single, Single)
Gets a value indicating that the specified x and y values are within the Width and Height of this size
Public methodEquals(Object)
Compares this size to the specified obj
(Overrides ValueTypeEquals(Object).)
Public methodEquals(SizeF)
Compares this size to the other size
Public methodFitTo
Fits this size to the specified constraint, keeping the aspect
Public methodGetHashCode
Gets the hash code for this Size
(Overrides ValueTypeGetHashCode.)
Public methodStatic memberMax
Returns the maximum width and height of two sizes
Public methodStatic memberMin
Returns the minimum width and height of two sizes
Public methodToString
Converts this Size struct to a string
(Overrides ValueTypeToString.)
Top
See Also