DefaultThicknessValueAttribute Class
Namespace: Stride.UI.AttributesAssembly: Stride.UI.dll
public class DefaultThicknessValueAttribute : DefaultValueAttribute
| Name | Description | |
|---|---|---|
| Constructors | ||
| DefaultThicknessValueAttribute(Single, Single, Single, Single) | ||
| DefaultThicknessValueAttribute(Single, Single, Single, Single, Single, Single) | Initializes a new instance of the Thickness structure that has specific lengths applied to each side of the cuboid. |
|
| Fields | ||
| Bottom | The bottom side of the bounding rectangle or cuboid. |
|
| Properties | ||
| Back | The Back side of the bounding cuboid. |
|
| Front | The front side of the bounding cuboid. |
|
| Left | The left side of the bounding rectangle or cuboid. |
|
| Right | The right side of the bounding rectangle or cuboid. |
|
| Top | The upper side of the bounding rectangle or cuboid. |
|
| Value | ||
Constructors
DefaultThicknessValueAttribute(Single, Single, Single, Single)
public DefaultThicknessValueAttribute(float left, float top, float right, float bottom)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Single | left | |
| System.Single | top | |
| System.Single | right | |
| System.Single | bottom |
DefaultThicknessValueAttribute(Single, Single, Single, Single, Single, Single)
Initializes a new instance of the Thickness structure that has specific lengths applied to each side of the cuboid.
public DefaultThicknessValueAttribute(float left, float top, float back, float right, float bottom, float front)
Parameters
| Type | Name | Description |
|---|---|---|
| System.Single | left | The thickness for the left side of the cuboid. |
| System.Single | top | The thickness for the upper side of the cuboid. |
| System.Single | back | The thickness for the Back side of the cuboid. |
| System.Single | right | The thickness for the right side of the cuboid |
| System.Single | bottom | The thickness for the lower side of the cuboid. |
| System.Single | front | The thickness for the front side of the cuboid. |
Fields
Bottom
The bottom side of the bounding rectangle or cuboid.
public float Bottom
Field Value
| Type | Description |
|---|---|
| System.Single |
Properties
Back
The Back side of the bounding cuboid.
public float Back { get; }
Property Value
| Type | Description |
|---|---|
| System.Single |
Front
The front side of the bounding cuboid.
public float Front { get; }
Property Value
| Type | Description |
|---|---|
| System.Single |
Left
The left side of the bounding rectangle or cuboid.
public float Left { get; }
Property Value
| Type | Description |
|---|---|
| System.Single |
Right
The right side of the bounding rectangle or cuboid.
public float Right { get; }
Property Value
| Type | Description |
|---|---|
| System.Single |
Top
The upper side of the bounding rectangle or cuboid.
public float Top { get; }
Property Value
| Type | Description |
|---|---|
| System.Single |
Value
public override object Value { get; }
Property Value
| Type | Description |
|---|---|
| System.Object |