Class Thickness3D
Describes the thickness of a frame around a box. Six System.Double values describe the Left, Back, Right, Front, Top, and Bottom sides of the box, respectively.
Inheritance
Namespace: Telerik.Windows.Controls.Charting
Assembly: Telerik.Windows.Controls.Charting.dll
Syntax
public sealed class Thickness3D : ValueType, IEquatable<Thickness3D>
Constructors
Thickness3D(Double)
Initializes a new instance of the Thickness3D structure.
It has the specified uniform length on each side, specified by the thickness
parameter.
Declaration
public Thickness3D(double thickness)
Parameters
System.Double
thickness
The thickness on each side. |
Thickness3D(Double, Double, Double)
Initializes a new instance of the Thickness3D structure.
Declaration
public Thickness3D(double leftRight, double topBottom, double frontBack)
Parameters
System.Double
leftRight
Thickness on left and right. |
System.Double
topBottom
Thickness on top and at the bottom. |
System.Double
frontBack
Thickness in front and in the back. |
Thickness3D(Double, Double, Double, Double, Double, Double)
Initializes a new instance of the Thickness3D structure.
Declaration
public Thickness3D(double left, double back, double right, double front, double top, double bottom)
Parameters
System.Double
left
Left. |
System.Double
back
Back. |
System.Double
right
Right. |
System.Double
front
Front. |
System.Double
top
Top. |
System.Double
bottom
Bottom. |
Properties
Back
Gets or sets the back thickness of the box.
Declaration
public double Back { get; set; }
Property Value
System.Double
The back. |
Bottom
Gets or sets the bottom thickness of the box.
Declaration
public double Bottom { get; set; }
Property Value
System.Double
The bottom. |
Front
Gets or sets the front thickness of the box.
Declaration
public double Front { get; set; }
Property Value
System.Double
The front. |
Left
Gets or sets the left thickness of the box.
Declaration
public double Left { get; set; }
Property Value
System.Double
The left. |
Right
Gets or sets the right thickness of the box.
Declaration
public double Right { get; set; }
Property Value
System.Double
The right. |
Top
Gets or sets the top thickness of the box.
Declaration
public double Top { get; set; }
Property Value
System.Double
The top. |
Methods
Equals(Object)
Indicates whether this instance and a specified object are equal.
Declaration
public override bool Equals(object obj)
Parameters
System.Object
obj
Another object to compare to. |
Returns
System.Boolean
True if |
Equals(Thickness3D)
Indicates whether the current object is equal to another object of the same type.
Declaration
public bool Equals(Thickness3D other)
Parameters
Thickness3D
other
An object to compare with this object. |
Returns
System.Boolean
True if the current object is equal to the |
GetHashCode()
Returns the hash code for this instance.
Declaration
public override int GetHashCode()
Returns
System.Int32
A 32-bit signed integer that is the hash code for this instance. |
Operators
Equality(Thickness3D, Thickness3D)
Implements the operator ==, compares two Thickness3D structures.
Declaration
public static bool operator ==(Thickness3D t1, Thickness3D t2)
Parameters
Thickness3D
t1
The left operand. |
Thickness3D
t2
The right operand. |
Returns
System.Boolean
true if equal, false otherwise. |
Inequality(Thickness3D, Thickness3D)
Implements the operator !=, compares two Thickness3D structures.
Declaration
public static bool operator !=(Thickness3D t1, Thickness3D t2)
Parameters
Thickness3D
t1
The left operand. |
Thickness3D
t2
The right operand. |
Returns
System.Boolean
true if not equal, false otherwise. |