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.

Methods

Method Description
clone Returns a copy of the object.
equals Determines whether the given object is equal to the current instance.
equals_object
get_hash_code Overrides obtaining a unique hash code value.

Properties

Property Description
all The value for all corners. Changing any individual corner (e.g., top right) sets this property to 0.
bottom_left The bottom left corner value.
bottom_right The bottom right corner value.
top_left The top left corner value.
top_right The top right corner value.

Fields

Field Description
EMPTY Provides a Corners object with no data.

See Also