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