ASRelativeLayoutSpecPosition Constants Reference
Declared in | ASRelativeLayoutSpec.h |
---|
ASRelativeLayoutSpecPosition
How the child is positioned within the spec.
Definition
typedef NS_ENUM(NSUInteger, ASRelativeLayoutSpecPosition ) {
ASRelativeLayoutSpecPositionNone = 0,
ASRelativeLayoutSpecPositionStart = 1,
ASRelativeLayoutSpecPositionCenter = 2,
ASRelativeLayoutSpecPositionEnd = 3,
};
Constants
ASRelativeLayoutSpecPositionNone
-
The child is positioned at point 0
Declared In
ASRelativeLayoutSpec.h
. ASRelativeLayoutSpecPositionStart
-
The child is positioned at point 0 relatively to the layout axis (ie left / top most)
Declared In
ASRelativeLayoutSpec.h
. ASRelativeLayoutSpecPositionCenter
-
The child is centered along the specified axis
Declared In
ASRelativeLayoutSpec.h
. ASRelativeLayoutSpecPositionEnd
-
The child is positioned at the maximum point of the layout axis (ie right / bottom most)
Declared In
ASRelativeLayoutSpec.h
.
Declared In
ASRelativeLayoutSpec.h