Size Struct
Stores an ordered pair of floating-point numbers, typically the width and height of a rectangle.
public record struct Size : System.IEquatable<PeachDrawing.Core.Size>
Implements System.IEquatable<Size>
| Constructors |
|
| Size(double, double) |
Stores an ordered pair of floating-point numbers, typically the width and height of a rectangle. |
| Size(PaintPoint) |
Initializes a new instance of the Size structure from the specified PaintPoint structure. |
| Size(Size) |
Initializes a new instance of the Size structure from the specified existing Size structure. |
| Fields |
|
| Empty |
Gets a Size structure that has a Height and Width value of 0. |
| Properties |
|
| IsEmpty |
Gets a value that indicates whether this Size structure has zero width and height. |