FlexItemLayout

data class FlexItemLayout(val x: Float, val y: Float, val width: Float, val height: Float)(source)

Layout result for a single flex item — all values are in pixels from the container's top-left.

Constructors

Link copied to clipboard
constructor(x: Float, y: Float, width: Float, height: Float)

Properties

Link copied to clipboard

Final computed height of the item in pixels.

Link copied to clipboard

Final computed width of the item in pixels.

Link copied to clipboard
val x: Float

Left edge of the item relative to the flex container origin.

Link copied to clipboard
val y: Float

Top edge of the item relative to the flex container origin.