public class YogaLayoutProps extends java.lang.Object implements LayoutProps
Constructor and Description |
---|
YogaLayoutProps(YogaNode node) |
Modifier and Type | Method and Description |
---|---|
void |
alignItems(YogaAlign align) |
void |
alignSelf(YogaAlign alignSelf) |
void |
aspectRatio(float aspectRatio) |
void |
flex(float flex) |
void |
flexBasisAuto() |
void |
flexBasisPercent(float percent) |
void |
flexBasisPx(int flexBasis) |
void |
flexDirection(YogaFlexDirection direction) |
void |
flexGrow(float flexGrow) |
void |
flexShrink(float flexShrink) |
void |
heightAuto() |
void |
heightPercent(float percent) |
void |
heightPx(int height) |
void |
isReferenceBaseline(boolean isReferenceBaseline) |
void |
justifyContent(YogaJustify justify) |
void |
layoutDirection(YogaDirection direction) |
void |
marginAuto(YogaEdge edge) |
void |
marginPercent(YogaEdge edge,
float percent) |
void |
marginPx(YogaEdge edge,
int margin) |
void |
maxHeightPercent(float percent) |
void |
maxHeightPx(int maxHeight) |
void |
maxWidthPercent(float percent) |
void |
maxWidthPx(int maxWidth) |
void |
minHeightPercent(float percent) |
void |
minHeightPx(int minHeight) |
void |
minWidthPercent(float percent) |
void |
minWidthPx(int minWidth) |
void |
paddingPercent(YogaEdge edge,
float percent) |
void |
paddingPx(YogaEdge edge,
int padding) |
void |
positionPercent(YogaEdge edge,
float percent) |
void |
positionPx(YogaEdge edge,
int position) |
void |
positionType(YogaPositionType positionType) |
void |
setBorderWidth(YogaEdge edge,
float borderWidth)
Used by
DebugLayoutNodeEditor |
void |
useHeightAsBaseline(boolean useHeightAsBaseline) |
void |
widthAuto() |
void |
widthPercent(float percent) |
void |
widthPx(int width) |
void |
wrap(YogaWrap wrap) |
public YogaLayoutProps(YogaNode node)
public void widthPx(int width)
widthPx
in interface LayoutProps
public void widthPercent(float percent)
widthPercent
in interface LayoutProps
public void minWidthPx(int minWidth)
minWidthPx
in interface LayoutProps
public void maxWidthPx(int maxWidth)
maxWidthPx
in interface LayoutProps
public void minWidthPercent(float percent)
minWidthPercent
in interface LayoutProps
public void maxWidthPercent(float percent)
maxWidthPercent
in interface LayoutProps
public void heightPx(int height)
heightPx
in interface LayoutProps
public void heightPercent(float percent)
heightPercent
in interface LayoutProps
public void minHeightPx(int minHeight)
minHeightPx
in interface LayoutProps
public void maxHeightPx(int maxHeight)
maxHeightPx
in interface LayoutProps
public void minHeightPercent(float percent)
minHeightPercent
in interface LayoutProps
public void maxHeightPercent(float percent)
maxHeightPercent
in interface LayoutProps
public void layoutDirection(YogaDirection direction)
layoutDirection
in interface LayoutProps
public void alignSelf(YogaAlign alignSelf)
alignSelf
in interface LayoutProps
public void flex(float flex)
flex
in interface LayoutProps
public void flexGrow(float flexGrow)
flexGrow
in interface LayoutProps
public void flexShrink(float flexShrink)
flexShrink
in interface LayoutProps
public void flexBasisPx(int flexBasis)
flexBasisPx
in interface LayoutProps
public void flexBasisPercent(float percent)
flexBasisPercent
in interface LayoutProps
public void aspectRatio(float aspectRatio)
aspectRatio
in interface LayoutProps
public void positionType(YogaPositionType positionType)
positionType
in interface LayoutProps
public void positionPx(YogaEdge edge, int position)
positionPx
in interface LayoutProps
public void positionPercent(YogaEdge edge, float percent)
positionPercent
in interface LayoutProps
public void paddingPx(YogaEdge edge, int padding)
paddingPx
in interface LayoutProps
public void paddingPercent(YogaEdge edge, float percent)
paddingPercent
in interface LayoutProps
public void marginPx(YogaEdge edge, int margin)
marginPx
in interface LayoutProps
public void marginPercent(YogaEdge edge, float percent)
marginPercent
in interface LayoutProps
public void marginAuto(YogaEdge edge)
marginAuto
in interface LayoutProps
public void isReferenceBaseline(boolean isReferenceBaseline)
isReferenceBaseline
in interface LayoutProps
public void useHeightAsBaseline(boolean useHeightAsBaseline)
useHeightAsBaseline
in interface LayoutProps
public void heightAuto()
heightAuto
in interface LayoutProps
public void widthAuto()
widthAuto
in interface LayoutProps
public void flexBasisAuto()
flexBasisAuto
in interface LayoutProps
public void setBorderWidth(YogaEdge edge, float borderWidth)
LayoutProps
DebugLayoutNodeEditor
setBorderWidth
in interface LayoutProps
public void flexDirection(YogaFlexDirection direction)
public void wrap(YogaWrap wrap)
public void justifyContent(YogaJustify justify)
public void alignItems(YogaAlign align)