Skip to content

Commit d2daf9c

Browse files
add Zoom model
1 parent 6434b1a commit d2daf9c

File tree

1 file changed

+11
-0
lines changed
  • image/src/main/java/com/smarttoolfactory/image/zoom

1 file changed

+11
-0
lines changed
Lines changed: 11 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -0,0 +1,11 @@
1+
package com.smarttoolfactory.image.zoom
2+
3+
import androidx.compose.runtime.Immutable
4+
5+
@Immutable
6+
data class Zoom(
7+
val zoom: Float = 1f,
8+
val translationX: Float = 0f,
9+
val translationY: Float = 0f,
10+
val rotation: Float = 0f
11+
)

0 commit comments

Comments
 (0)