ComponentLayout

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 android.view.Views and android.graphics.drawable.Drawables returned by com.facebook.litho.annotations.OnMeasure.

Inheritors

Properties

Link copied to clipboard
abstract val background: Drawable?
Link copied to clipboard
@get:Px
abstract val height: Int
Link copied to clipboard
abstract val isPaddingSet: Boolean
Link copied to clipboard
@get:Px
abstract val paddingBottom: Int
Link copied to clipboard
@get:Px
abstract val paddingLeft: Int
Link copied to clipboard
@get:Px
abstract val paddingRight: Int
Link copied to clipboard
@get:Px
abstract val paddingTop: Int
Link copied to clipboard
abstract val resolvedLayoutDirection: YogaDirection
Link copied to clipboard
@get:Px
abstract val width: Int
Link copied to clipboard
@get:Px
abstract val x: Int
Link copied to clipboard
@get:Px
abstract val y: Int