Rectangle
Rectangle class
Represents a rectangular area.
public sealed class Rectangle
Constructors
| Name |
Description |
| Rectangle(Point, Size) |
Initializes a new instance of the Rectangle class. |
| Rectangle(double, double, double, double) |
Initializes a new instance of the Rectangle class. |
Properties
| Name |
Description |
| Bottom { get; } |
Gets the y-coordinate of the bottom edge of the rectangular area. |
| Left { get; } |
Gets the x-coordinate of the left edge of the rectangular area. |
| Position { get; } |
Gets the coordinates of the upper-left corner of the rectangular area. |
| Right { get; } |
Gets the x-coordinate of the right egde of the rectangular area. |
| Size { get; } |
Gets the size. |
| Top { get; } |
Gets the y-coordinate of the top edge of the rectangular area. |
Methods
| Name |
Description |
| override ToString() |
Converts the value of this instance to String. |
See Also