4 using System.Diagnostics;
6 namespace SiliconStudio.
Paradox.UI
11 [DebuggerDisplay(
"Left:{Left}, Top:{Top}, Back:{Back}, Right:{Right}, Bottom:{Bottom}, Front:{Front}")]
21 return new Thickness(thickness, thickness, thickness, thickness);
31 return new Thickness(thickness, thickness, thickness, thickness, thickness, thickness);
41 public Thickness(
float left,
float top,
float right,
float bottom)
92 public Thickness(
float left,
float top,
float back,
float right,
float bottom,
float front)
139 public float this[
int index]
147 case 2:
return Front;
148 case 3:
return Right;
153 throw new ArgumentOutOfRangeException(
"index",
"Indices for Vector2 run from 0 to 1, inclusive.");
float Right
The right side of the bounding rectangle.
Thickness(float left, float top, float back, float right, float bottom, float front)
Initializes a new instance of the Thickness structure that has specific lengths applied to each side ...
float Left
The left side of the bounding rectangle.
static Thickness UniformCuboid(float thickness)
Initializes a new instance of the Thickness structure that has the specified uniform length on the Le...
float Top
The upper side of the bounding rectangle.
Describes the thickness of a frame around a cuboid. Six float values describe the Left...
float Bottom
The bottom side of the bounding rectangle.
float Back
The Back side of the bounding rectangle.
float Front
The front side of the bounding rectangle.
Thickness(float left, float top, float right, float bottom)
Initializes a new instance of the Thickness structure that has specific lengths applied to each side ...
The child element is aligned to the bottom of the parent's layout slot.
The child element is aligned to the top of the parent's layout slot.
static Thickness UniformRectangle(float thickness)
Initializes a new instance of the Thickness structure that has the specified uniform length on the Le...