offset

abstract fun offset(offset: DpOffset)

Sets the offset of the view.

Parameters

offset

The offset of view.


abstract fun offset(x: Dp = 0.dp, y: Dp = 0.dp)

Sets the offset of the view.

Parameters

x

The offset of view on x-axis.

y

The offset of view on y-axis.