Created
October 11, 2017 13:04
-
-
Save marekkrzynowek/da0d751c11b5ff9085b91d05cff56f25 to your computer and use it in GitHub Desktop.
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
| let x = frame.origin.x + (self.frame.width * xScale) * self.layer.anchorPoint.x | |
| let y = frame.origin.y + (self.frame.height * yScale) * self.layer.anchorPoint.y |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment