Search
Thickness Members
Constructors Fields Properties Methods
 


Describes the thickness on all four sides of a rectangular frame.

The following tables list the members exposed by the Thickness type.

 Public Constructors

  Name Description

Thickness

Overloaded. Initializes a new instance of the Thickness structure.

 Public Fields

  Name Description

IsRelative

A flag indicating whether the thickness properties are expressed as relative or absolute quantities.

Zero

Represents an empty (0) thickness.

 Public Properties

  Name Description

Bottom

Gets or sets the width of the bottom side of the frame.

Left

Gets or sets the width of the left side of the frame.

Right

Gets or sets the width of the right side of the frame.

Top

Gets or sets the width of the top side of the frame.

 Public Methods

  Name Description

Apply

Applies the current thickness to the specified rectangle by deflating the rectangle.

Equals

Overloaded. Compares this Thickness structure to another object for equality.

GetHashCode

Returns the hash code of the structure.

ToAbsolute

Converts the current thickness to absolute value relative to the specified size.

ToString

Returns the string representation of the Thickness structure.

 See Also