Known direct subclasses
LayoutStyleScope

An interface that introduces the layout properties to a Style receiver scope.

Known indirect subclasses
StyleScope

A StyleScope is the receiver scope of a Style lambda.


An interface that introduces position properties to a Style receiver scope interface.

See also
StyleScope

Summary

Public functions

Unit
bottom(value: Dp)

Offsets the component vertically from its original calculated bottom position.

Cmn
Unit
left(value: Dp)

Offsets the component horizontally from its original calculated left position.

Cmn
Unit
right(value: Dp)

Offsets the component horizontally from its original calculated right position.

Cmn
Unit
top(value: Dp)

Offsets the component vertically from its original calculated top position.

Cmn

Public functions

bottom

fun bottom(value: Dp): Unit

Offsets the component vertically from its original calculated bottom position. Positive values shift the component upwards (further from the bottom edge), negative downwards.

This property is not inherited

Parameters
value: Dp

The amount to offset from the bottom edge.

See also
left
top
right
offset

left

fun left(value: Dp): Unit

Offsets the component horizontally from its original calculated left position. Positive values shift the component to the right, negative to the left.

This property is not inherited

Parameters
value: Dp

The amount to offset from the left edge.

See also
top
right
bottom
offset

right

fun right(value: Dp): Unit

Offsets the component horizontally from its original calculated right position. Positive values shift the component to the left (further from the right edge), negative to the right.

This property is not inherited

Parameters
value: Dp

The amount to offset from the right edge.

See also
left
top
bottom
offset

top

fun top(value: Dp): Unit

Offsets the component vertically from its original calculated top position. Positive values shift the component downwards, negative upwards.

This property is not inherited

Parameters
value: Dp

The amount to offset from the top edge.

See also
left
right
bottom
offset