Last active
September 24, 2019 19:38
-
-
Save VovaStelmashchuk/a09d17f6987b8eae842411bcf48bd018 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
val pointA = Point() | |
val pointB = Point() | |
val plusResult = Point(pointA.x + pointB.x, | |
pointA.y + pointB.y) | |
val minusResult = Point(pointA.x - pointB.x, | |
pointA.y - pointB.y) | |
val divResult = PointF(pointA.x / 4.2, | |
pointA.y / 4.2) | |
val timesResult = PointF(pointA.x * 2, | |
pointA.y * 2) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment