Skip to content

Instantly share code, notes, and snippets.

@VovaStelmashchuk
Created September 24, 2019 18:43
  • Star 0 You must be signed in to star a gist
  • Fork 0 You must be signed in to fork a gist
Star You must be signed in to star a gist
Save VovaStelmashchuk/afffc0f91d3d335134ee72b4e55e43d0 to your computer and use it in GitHub Desktop.
val a = Point(ax, ay)
val b = Point(bx, by)
val c = PointF(cx, cy)
val path = Path()
path.moveTo(a.x.toFloat(), a.y.toFloat());
path.lineTo(b.x.toFloat(), b.y.toFloat());
path.lineTo(c.x, c.y);
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment