Skip to content
This repository has been archived by the owner on Jul 30, 2019. It is now read-only.

rotate each sticker to a fixed angle #120

Open
pawaom opened this issue Sep 8, 2018 · 1 comment
Open

rotate each sticker to a fixed angle #120

pawaom opened this issue Sep 8, 2018 · 1 comment

Comments

@pawaom
Copy link

pawaom commented Sep 8, 2018

rotate each sticker to a fixed angle

how can we rotate individual sticker to a fixed angle say 90 degree or 180 degree

stickerView.zoomAndRotateCurrentSticker();

and

stickerView.zoomAndRotateSticker();

require motion event

how can we just pass an angle to the method to rotate the stickers

@vishrut2207
Copy link

That is not possible in this version.
you have to identify matrix of current sticker then after apply your angle in that matrix and set matrix to that sticker.
this is the only way to rotate sticker.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants