Function

offset

Offsets the content by (x, y).

offset

Source set: JvmAndAndroid
public fun RemoteModifier.offset(x: RemoteDp = 0.rdp, y: RemoteDp = 0.rdp): RemoteModifier

Offsets the content by (x, y).

Parameters

x The horizontal offset in RemoteDp.
y The vertical offset in RemoteDp.

Return

a RemoteModifier that offsets the content by (x, y)

Jetpack Compose beyond MaterialFree components, screens and templates for apps that don’t look like Google’s. Copy them into your app, or let your coding agent add them.Browse for free

Content updated: