[]
Stores an ordered pair of double values, typically the width and height of a rectangle.
public struct SizeD
Name | Description |
---|---|
SizeD(double, double) | Initializes a new instance of the SizeD structure. |
Name | Description |
---|---|
Empty | Represents an empty instance of the SizeD structure. |
Height | Gets or sets the vertical component of the current SizeD. |
IsEmpty | Gets a value indicating whether of the current SizeD has zero Width and Height. |
Width | Gets or sets the horizontal component of the current SizeD. |
Name | Description |
---|---|
Add(SizeD, SizeD) | Adds two SizeD structures. |
Ceiling() | Converts the current SizeD structure to a Point by rounding the width and height to the next higher integer values. |
Substract(SizeD, SizeD) | Subtracts one SizeD structure from another. |
ToString() | Converts the current SizeD structure to a human-readable string representing it. |
Truncate() | Converts the current SizeD structure to a Point by truncating the width and height to integer values. |
Name | Description |
---|---|
operator +(SizeD, SizeD) | Adds two SizeD structures. |
explicit operator PointD(SizeD) | |
implicit operator SizeD(Size) | |
implicit operator SizeD(SizeF) | |
operator -(SizeD, SizeD) | Subtracts one SizeD structure from another. |