Class DefaultThicknessValueAttribute
- Namespace
- Stride.UI.Attributes
- Assembly
- Stride.UI.dll
public class DefaultThicknessValueAttribute : DefaultValueAttribute
- Inheritance
-
objectDefaultThicknessValueAttribute
- Inherited Members
Constructors
DefaultThicknessValueAttribute(float, float, float, float)
public DefaultThicknessValueAttribute(float left, float top, float right, float bottom)
Parameters
DefaultThicknessValueAttribute(float, float, float, float, float, float)
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
leftfloatThe thickness for the left side of the cuboid.
topfloatThe thickness for the upper side of the cuboid.
backfloatThe thickness for the Back side of the cuboid.
rightfloatThe thickness for the right side of the cuboid
bottomfloatThe thickness for the lower side of the cuboid.
frontfloatThe thickness for the front side of the cuboid.
Fields
Bottom
The bottom side of the bounding rectangle or cuboid.
public float Bottom
Field Value
Properties
Back
The Back side of the bounding cuboid.
public float Back { get; }
Property Value
Front
The front side of the bounding cuboid.
public float Front { get; }
Property Value
Left
The left side of the bounding rectangle or cuboid.
public float Left { get; }
Property Value
Right
The right side of the bounding rectangle or cuboid.
public float Right { get; }
Property Value
Top
The upper side of the bounding rectangle or cuboid.
public float Top { get; }
Property Value
Value
Gets the default value of the property this attribute is bound to.
public override object Value { get; }
Property Value
- object
An object that represents the default value of the property this attribute is bound to.