Corners class

Corners class

Represents corners of a square graphical object.

The Corners type exposes the following members:

Constructors

Constructor Description
init Initializes a new instance of Corners class using zero values.
init Initializes a new instance of the Corners class using the supplied value for all corners.
init Initializes a new instance of the Corners class using the supplied values.

Properties

Property Description
all Gets or sets the value for all corners.
Changing of any partial corner like top right makes this property equal 0;
top_left Gets or sets top left corner value.
top_right Gets or sets top right corner value.
bottom_left Gets or sets bottom left corner value.
bottom_right Gets or sets bottom right corner value.
EMPTY Provides a Corners object with no data.

Methods

Method Description
clone Gets a copy of this object.

See Also