offset

Offsets this modifier list by the specified X and Y coordinates.

Return

A new ModifierFieldValueList with offset applied

Parameters

x

The horizontal offset in Dp (defaults to 0.dp)

y

The vertical offset in Dp (defaults to 0.dp)


Offsets this modifier list uniformly in both X and Y directions.

Return

A new ModifierFieldValueList with uniform offset applied

Parameters

offset

The offset value to apply to both X and Y coordinates (defaults to 0.dp)