Class Flex
Syntax
Methods
CreateFlexItem(FlexalonNode, int, float, float, float)
Declaration
public static FlexItem CreateFlexItem(FlexalonNode node, int axis, float childSize, float usedSize, float layoutSize)
Parameters
Type |
Name |
Description |
FlexalonNode |
node |
|
int |
axis |
|
float |
childSize |
|
float |
usedSize |
|
float |
layoutSize |
|
Returns
Grow(List<FlexItem>, float, float)
Declaration
public static void Grow(List<FlexItem> items, float space, float gap)
Parameters
Type |
Name |
Description |
System.Collections.Generic.List<T><FlexItem> |
items |
|
float |
space |
|
float |
gap |
|
GrowOrShrink(List<FlexItem>, float, float, float)
Declaration
public static void GrowOrShrink(List<FlexItem> items, float usedSpace, float totalSpace, float gap)
Parameters
Type |
Name |
Description |
System.Collections.Generic.List<T><FlexItem> |
items |
|
float |
usedSpace |
|
float |
totalSpace |
|
float |
gap |
|
Shrink(List<FlexItem>, float, float)
Declaration
public static void Shrink(List<FlexItem> items, float space, float gap)
Parameters
Type |
Name |
Description |
System.Collections.Generic.List<T><FlexItem> |
items |
|
float |
space |
|
float |
gap |
|