Skip to content

Group transform property #1631

Discussion options

You must be logged in to vote

Yes, when using with the latest version of Skia (0.1.193) and Reanimated (3.3.0), you can create an animatable transform as:

const transform = useDerivedValue(() => {
  return [
    { scaleX: scale.value },
    { scaleY: scale.value },
  ]
})

return (
  <Canvas><Group transform={transform}>...</Group></Canvas>
)

Replies: 2 comments 3 replies

Comment options

You must be logged in to vote
3 replies
@fuzzpedal
Comment options

@khanisak
Comment options

@evoactivity
Comment options

Answer selected by wcandillon
Comment options

You must be logged in to vote
0 replies
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
6 participants