Package com.pointrlabs.core.util.flexbox
Class FlexLine
-
- All Implemented Interfaces:
public class FlexLine
-
-
Method Summary
Modifier and Type Method Description int
getMainSize()
int
getCrossSize()
int
getItemCount()
int
getItemCountNotGone()
float
getTotalFlexGrow()
float
getTotalFlexShrink()
int
getFirstIndex()
-
-
Method Detail
-
getMainSize
int getMainSize()
- Returns:
the size of the flex line in pixels along the main axis of the flex container.
-
getCrossSize
int getCrossSize()
- Returns:
the size of the flex line in pixels along the cross axis of the flex container.
-
getItemCount
int getItemCount()
- Returns:
the count of the views contained in this flex line.
-
getItemCountNotGone
int getItemCountNotGone()
- Returns:
the count of the views whose visibilities are not gone in this flex line.
-
getTotalFlexGrow
float getTotalFlexGrow()
- Returns:
the sum of the flexGrow properties of the children included in this flex line
-
getTotalFlexShrink
float getTotalFlexShrink()
- Returns:
the sum of the flexShrink properties of the children included in this flex line
-
getFirstIndex
int getFirstIndex()
- Returns:
the first view's index included in this flex line.
-
-
-
-