namespace EasyLayoutNS
{
///
/// Grid constraints.
///
public enum GridConstraints
{
///
/// Don't constraint the number of rows or columns.
///
Flexible = 0,
///
/// Constraint the number of columns to a specified number.
///
FixedColumnCount = 1,
///
/// Constraint the number of rows to a specified number.
///
FixedRowCount = 2,
}
///
/// Compact constraints.
///
public enum CompactConstraints
{
///
/// Don't constraint the number of rows or columns.
///
Flexible = 0,
///
/// Constraint the number of columns to a specified number.
///
MaxColumnCount = 1,
///
/// Constraint the number of rows to a specified number.
///
MaxRowCount = 2,
}
///
/// Children size.
///
public enum ChildrenSize
{
///
/// Don't change children sizes.
///
DoNothing = 0,
///
/// Set children sizes to preferred.
///
SetPreferred = 1,
///
/// Set children size to maximum size of children preferred.
///
SetMaxFromPreferred = 2,
///
/// Change children size from min to preferred to fit container.
///
FitContainer = 3,
///
/// Stretch children size to fit container.
///
SetPreferredAndFitContainer = 5,
///
/// Shrink children size if UI size more than RectTransform size.
///
ShrinkOnOverflow = 4,
}
///
/// Anchors.
///
public enum Anchors
{
///
/// UpperLeft.
///
UpperLeft = 0,
///
/// UpperCenter.
///
UpperCenter = 1,
///
/// UpperRight.
///
UpperRight = 2,
///
/// MiddleLeft.
///
MiddleLeft = 3,
///
/// MiddleCenter.
///
MiddleCenter = 4,
///
/// MiddleRight.
///
MiddleRight = 5,
///
/// LowerLeft.
///
LowerLeft = 6,
///
/// LowerCenter.
///
LowerCenter = 7,
///
/// LowerRight.
///
LowerRight = 8,
}
///
/// Stacking.
///
public enum Stackings
{
///
/// Horizontal.
///
Horizontal = 0,
///
/// Vertical.
///
Vertical = 1,
}
///
/// Axis.
///
public enum Axis
{
///
/// Horizontal.
///
Horizontal = 0,
///
/// Vertical.
///
Vertical = 1,
}
///
/// Horizontal aligns.
///
public enum HorizontalAligns
{
///
/// Left.
///
Left = 0,
///
/// Center.
///
Center = 1,
///
/// Right.
///
Right = 2,
}
///
/// Inner aligns.
///
public enum InnerAligns
{
///
/// Top.
///
Top = 0,
///
/// Middle.
///
Middle = 1,
///
/// Bottom.
///
Bottom = 2,
}
///
/// Layout type to use.
///
public enum LayoutTypes
{
///
/// Compact.
///
Compact = 0,
///
/// Grid.
///
Grid = 1,
///
/// Flex.
///
Flex = 2,
///
/// Staggered.
///
Staggered = 3,
///
/// Ellipse.
///
Ellipse = 4,
}
///
/// Align for the Ellipse layout type.
///
public enum EllipseAlign
{
///
/// Outer align.
///
Outer = 0,
///
/// Center align.
///
Center = 1,
///
/// Inner align.
///
Inner = 2,
}
///
/// Fill for the Ellipse layout type.
///
public enum EllipseFill
{
///
/// Closed.
///
Closed = 0,
///
/// Arc.
///
Arc = 1,
}
///
/// Resize type.
///
[System.Flags]
public enum ResizeType
{
///
/// None.
///
None = 0,
///
/// Horizontal resize.
///
Horizontal = 1,
///
/// Vertical resize.
///
Vertical = 2,
}
}