Skip to content

Instantly share code, notes, and snippets.

@VovaStelmashchuk
Last active September 24, 2019 19:02
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
  • Save VovaStelmashchuk/a9085954fceb18051ac9f9ee2e4fbee7 to your computer and use it in GitHub Desktop.
Save VovaStelmashchuk/a9085954fceb18051ac9f9ee2e4fbee7 to your computer and use it in GitHub Desktop.
val path = Path();
val topLeft = PointF();
val bottomRight = PointF();
path.addRect(topLeft.x, topLeft.y,
bottomRight.x, bottomRight.y)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment