Thickness class

Thickness class

Describes the thickness of a frame around a rectangle.

The Thickness type exposes the following members:

Constructors

Constructor Description
init Initializes a new instance of the Thickness class that has specific lengths applied to each side of the rectangle.
init Initializes a new Thickness instance with a uniform length applied to all four sides of the bounding rectangle.

Methods

Method Description
equals Determines whether the specified Thickness is equal to the current Thickness.
equals_object
get_hash_code Returns the hash code for this instance.
to_string Returns the string representation of the Thickness class.

Properties

Property Description
bottom The width of the bottom side of the bounding rectangle.
left The width of the left side of the bounding rectangle.
right The width of the right side of the bounding rectangle.
top The width of the top side of the bounding rectangle.

See Also