uptechteam / MotionViews-Android

Code Guide: How to create Snapchat-like image stickers and text stickers.
https://blog.uptech.team/how-to-create-snapchat-like-stickers-for-android-50512957c351
MIT License
479 stars 112 forks source link

How to specify top-left location of the bitmap? #38

Closed contendar closed 6 years ago

contendar commented 6 years ago

How to make moveTopLeftTo(PointF moveToCenter) from moveCenterTo(PointF moveToCenter) method? I want to place the bitmap from one canvas with different size to another with different size but I have hard time to do this simple task. when I use moveCenterTo then it makes the specified co-ordinate center of bitmap instead of top-left.

Thank you!