Struct Thickness
Inherited Members
Namespace: Telerik.Windows.Diagrams.Core
Assembly: Telerik.WinControls.RadDiagram.dll
Syntax
public struct Thickness : IEquatable<Thickness>
Constructors
Thickness(Double)
Initializes a new instance of the System.
Declaration
public Thickness(double uniformLength)
Parameters
System. The uniform length applied to all four sides of the bounding rectangle. |
Thickness(Double, Double, Double, Double)
Declaration
public Thickness(double left, double top, double right, double bottom)
Parameters
System.
|
System.
|
System.
|
System.
|
Properties
Bottom
Gets or sets the width, in pixels, of the lower side of the bounding rectangle.
Declaration
public double Bottom { get; set; }
Property Value
System. A System. |
Left
Gets or sets the width, in pixels, of the left side of the bounding rectangle.
Declaration
public double Left { get; set; }
Property Value
System. A System. |
Right
Gets or sets the width, in pixels, of the right side of the bounding rectangle.
Declaration
public double Right { get; set; }
Property Value
System. A System. |
Top
Gets or sets the width, in pixels, of the upper side of the bounding rectangle.
Declaration
public double Top { get; set; }
Property Value
System. A System. |
Methods
Equals(Object)
Compares this System.
Declaration
public override bool Equals(object obj)
Parameters
System. The object to compare. |
Returns
System. true if the two objects are equal; otherwise, false. |
Overrides
Equals(Thickness)
Compares this System.
Declaration
public bool Equals(Thickness thickness)
Parameters
Thickness
thickness
An instance of System. |
Returns
System. true if the two instances of System. |
Implements
GetHashCode()
Returns the hash code of the structure.
Declaration
public override int GetHashCode()
Returns
System. A hash code for this instance of System. |
Overrides
Operators
Equality(Thickness, Thickness)
Compares the value of two System.
Declaration
public static bool operator ==(Thickness t1, Thickness t2)
Parameters
Returns
System. true if the two instances of System. |
Inequality(Thickness, Thickness)
Compares two System.
Declaration
public static bool operator !=(Thickness t1, Thickness t2)
Parameters
Returns
System. true if the two instances of System. |