🌈 Create new beautiful Compose Gradients with our new wesite ->
Function

transformOrigin

Offset percentage along the x and y-axis for which contents are rotated and scaled.

transformOrigin

Source set: Common
public fun TransformOriginScope.transformOrigin(value: TransformOrigin)

Offset percentage along the x and y-axis for which contents are rotated and scaled. The default value of 0.5f, 0.5f indicates the pivot point will be at the midpoint of the left and right as well as the top and bottom bounds of the layer. Default value is TransformOrigin.Center.

Parameters

value The origin of the transform