Corners
Corners class
Represents corners of a square graphical object.
public class Corners : ICloneable
Constructors
Name |
Description |
Corners() |
Initializes a new instance of Corners class using zero values. |
Corners(double) |
Initializes a new instance of the Corners class using the supplied value for all corners. |
Corners(double, double, double, double) |
Initializes a new instance of the Corners class using the supplied values. |
Properties
Name |
Description |
All { get; set; } |
Gets or sets the value for all corners. Changing of any partial corner like top right makes this property equal 0; |
BottomLeft { get; set; } |
Gets or sets bottom left corner value. |
BottomRight { get; set; } |
Gets or sets bottom right corner value. |
TopLeft { get; set; } |
Gets or sets top left corner value. |
TopRight { get; set; } |
Gets or sets top right corner value. |
Methods
Name |
Description |
Clone() |
Gets a copy of this object. |
override Equals(object) |
Override equals method |
override GetHashCode() |
Overrides obtaining unique hash code value |
Fields
Name |
Description |
static readonly Empty |
Provides a Corners object with no data. |
See Also