The Thickness type exposes the following members.

Constructors

  NameDescription
Public methodThickness(Int32)
Creates a uniform thickness
Public methodThickness(Int32, Int32)
Creates a thickness with symmetric horizontal and vertical values
Public methodThickness(Int32, Int32, Int32, Int32)
Creates a new thickness

Methods

  NameDescription
Public methodEquals
Indicates whether this instance and a specified object are equal.
(Overrides ValueType..::..Equals(Object).)
Protected methodFinalize (Inherited from Object.)
Public methodGetHashCode
Serves as a hash function for a particular type.
(Overrides Object..::..GetHashCode()()()().)
Public methodGetType (Inherited from Object.)
Protected methodMemberwiseClone (Inherited from Object.)
Public methodToString (Inherited from Object.)

Operators

  NameDescription
Public operatorStatic memberEquality
Compares tho Thickness for equality
Public operatorStatic memberInequality
Compares tho Thickness for inequality

Fields

  NameDescription
Public fieldBottom
Bottom thickness
Public fieldLeft
Left thickness
Public fieldRight
Right thickness
Public fieldTop
Top thickness

Properties

  NameDescription
Public propertyHorizontal
Gets the sum of the horizontal thickness
Public propertyVertical
Gets the sum of the vertical thickness

See Also