Name | Description | |
---|---|---|
![]() | NSize Constructor | Overloaded. |
The following tables list the members exposed by NSize.
Name | Description | |
---|---|---|
![]() | NSize Constructor | Overloaded. |
Name | Description | |
---|---|---|
![]() | Height | height |
![]() ![]() | Undefined | The undefined size - (Double.NaN, Double.NaN). |
![]() | Width | width |
![]() ![]() | Zero | The zero size - (0, 0). |
Name | Description | |
---|---|---|
![]() | IsDefined | Checks whether both the Width and the Height of this size are defined (i.e. they are not Double.NaN). |
![]() | IsEmpty | Determines whether this is an empty size (e.g. width and height are 0) |
Name | Description | |
---|---|---|
![]() | Deflate | Deflates this size with the specified margins |
![]() | Deserialize | Deserializes the object state from the specified property bag. |
![]() | Equals | Overloaded. Checks whether this size is equal to the other size |
![]() | Flip | Flips the Width and Height values. |
![]() | GetHashCode | Serves as a hash function for a particular type, suitable for use in hashing algorithms and data structures like a hash table. |
![]() | GetMax | Gets the max of Width and Height |
![]() | GetMin | Gets the min of Width and Height |
![]() | Inflate | Inflates this size with the specified margins |
![]() | Round | Round this size. |
![]() | Scale | Scales this size with the specified factors |
![]() | Serialize | Serializes the object state into the specified property bag. |
![]() | ToNPoint | Converts this size to NPoint. |
![]() | ToString | Returns the string representation of this object |
![]() ![]() | Union | Overloaded. Returns a size whose width is the max of size1.Width and size2.Width, and whose height is the max of size1.Height and size2.Height. |
![]() | Adds b size to a size and returns the resulting size (binary +) |
![]() | Determines whether a is equal to b |
![]() | Determines whether a is not equal to b |
![]() | Subtracts b size from a size and returns the resulting size (binary -) |