-
-
Save IslamBesto/3c7bed2982c9e70360d06c0fe8898b26 to your computer and use it in GitHub Desktop.
Boundary
This file contains 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 pitchOutline = AndroidPath().apply { | |
moveTo(50f, 50f) | |
lineTo(size.width - 50f, 50f) | |
lineTo(size.width - 50f, size.height - 50f) | |
lineTo(50f, size.height - 50f) | |
close() | |
moveTo(50f, size.height / 2) | |
lineTo(size.width - 50f, size.height / 2) | |
} | |
drawPath(path = pitchOutline, color = Color.White, style = Stroke(3.dp.toPx())) |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment