Function

TransformOrigin

Constructs a TransformOrigin from the given fractional values from the Layer's width and height

TransformOrigin

Source set: Common
public fun TransformOrigin(pivotFractionX: Float, pivotFractionY: Float): TransformOrigin

Constructs a TransformOrigin from the given fractional values from the Layer's width and height

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: