Open pawaom opened 6 years ago
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
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.
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