A rectangular size in a 2D coordinate space.
Hierarchy
System.Object
System.ValueType
WebSupergoo.ImageGlue8.Size
Notes

This class is sealed. It cannot be derived from.

Methods
Method Description
Size Constructs a Size given a width and a height.
S» Add Gets a new Size containing the sum of coordinates of two supplied sizes.
S» Ceiling Returns a new Size copied from the supplied SizeF. Coordinates will be rounded to the nearest larger integer.
Equals Determines whether the specified object is a Size, value identical to this one.
GetHashCode Obtains a hash code for the Size.
S» Round Returns a new Size copied from the supplied SizeF. Coordinates will be rounded to the nearest integer.
Scale Scales the size.
S» Subtract Gets a new Size by subtracting the coordinates of two supplied sizes from each other.
ToString Converts the object to a string representation such as 'Width=10, Height=20'.
S» Truncate Returns a new Size copied from the supplied SizeF. Coordinates will be truncated to integers.
S» Tween Find a size between two other sizes using linear interpolation.
Operators
Operator Description
Addition Gets a new Size containing the sum of coordinates of two supplied sizes.
Division Divide a vector Size by a scalar.
Equality Compares two Size instances for equality.
Explicit (Point) Converts this object to another type via an explicit cast.
Implicit (SizeF) Converts this object to another type via an implicit cast.
Inequality Compares two Size instances for inequality.
Multiply Multiply a vector Size by a scalar.
Subtraction Gets a new Size by subtracting the coordinates of two supplied sizes from each other.
UnaryNegation Unary negative of a vector Size.
Properties
Property Description
Height The vertical component of the Size.
IsEmpty Determines if the size is empty.
Width The horizontal component of the Size.
Fields
Field Description
Empty The empty size.
Example

None.