public interface ComponentLayout
Component
's computed layout state. The computed bounds will be
used by the framework to define the size and position of the component's mounted
View
s and Drawable
s returned.
by ComponentLifecycle.mount(ComponentContext, Object, Component)
.Modifier and Type | Interface and Description |
---|---|
static interface |
ComponentLayout.Builder |
static interface |
ComponentLayout.ContainerBuilder
For more information and complete docs on flexbox layouting, see the Yoga docs:
https://facebook.github.io/yoga/docs
|
Modifier and Type | Method and Description |
---|---|
int |
getHeight() |
int |
getPaddingBottom() |
int |
getPaddingLeft() |
int |
getPaddingRight() |
int |
getPaddingTop() |
YogaDirection |
getResolvedLayoutDirection() |
int |
getWidth() |
int |
getX() |
int |
getY() |
@Px int getX()
@Px int getY()
@Px int getWidth()
@Px int getHeight()
@Px int getPaddingTop()
@Px int getPaddingRight()
@Px int getPaddingBottom()
@Px int getPaddingLeft()
YogaDirection getResolvedLayoutDirection()