Is there any equivalent to the <CSS> `skew` transf...
# compose
a
Is there any equivalent to the CSS
skew
transform in Compose? Or a way to recreate it manually by giving a transform matrix to the
graphicsLayer
or something?
r
On Android you can create an android.graphics.Matrix can call the skew methods on it and then transform it into a Compose matrix
You can also just directly set values in the Compose Matrix using https://developer.android.com/reference/kotlin/androidx/compose/ui/graphics/Matrix#SkewX()
a
Thank you! Is there then a modifier I could use to apply that to a Compose component?