compose-swing-ui
Toggle table of contents
0.1.0-SNAPSHOT
jvm
Target filter
jvm
Switch theme
Search in API
Skip to content
compose-swing-ui
swing-ui-foundation
/
org.jetbrains.compose.swing.foundation.graphics.drawscope
/
rotate
rotate
inline
fun
DrawScope
.
rotate
(
degrees
:
Float
,
pivotX
:
Float
=
size.width / 2f
,
pivotY
:
Float
=
size.height / 2f
,
block
:
DrawScope
.
(
)
->
Unit
)
Rotates the drawing space by
degrees
around pivot (
pivotX
,
pivotY
) for the duration of
block
.