Name | Description | |
---|---|---|
Size2D Constructor | Overloaded. |
The following tables list the members exposed by Size2D.
Name | Description | |
---|---|---|
Size2D Constructor | Overloaded. |
Name | Description | |
---|---|---|
Empty | An empty size. | |
Height | The vertical component of this Size2D structure. | |
Infinite | A size with infinite Width and Height. | |
SizeInBytes | The size of the Size2D type, in bytes. | |
Width | The horizontal component of this Size2D structure. |
Name | Description | |
---|---|---|
Add | Adds the width and height of one Size2D structure to the width and height of another Size2D structure. | |
Equals | Overloaded. Indicates whether this instance and a specified object are equal. | |
GetHashCode | Returns a hash code for this instance. | |
Round | Returns a Size2L with rounded width and height. | |
Scale | Overloaded. Scales the width and height by the specified scaleFactor. | |
Subtract | Subtracts the width and height of one Size2D structure from the width and height of another Size2D structure. | |
ToSize2F | Converts Size2D to Size2F. | |
ToSizeF | Converts Size2D to System.Drawing.SizeF. | |
ToString | Returns a string that represents the current object. | |
Truncate | Returns a Size2L with truncated width and height. |
Equality | Determines if the specified values are equal. |
Inequality | Determines if the specified values are not equal. |