public interface ComponentLayout
Represents a 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)
.
Modifier and Type | Method and Description |
---|---|
Reference<? extends Drawable> |
getBackground() |
int |
getHeight() |
int |
getPaddingBottom() |
int |
getPaddingLeft() |
int |
getPaddingRight() |
int |
getPaddingTop() |
YogaDirection |
getResolvedLayoutDirection() |
int |
getWidth() |
int |
getX() |
int |
getY() |
boolean |
isPaddingSet() |
@Px int getX()
@Px int getY()
@Px int getWidth()
@Px int getHeight()
@Px int getPaddingTop()
@Px int getPaddingRight()
@Px int getPaddingBottom()
@Px int getPaddingLeft()
boolean isPaddingSet()
Reference<? extends Drawable> getBackground()
YogaDirection getResolvedLayoutDirection()