Created
August 11, 2023 09:43
-
-
Save zurche/8039ac0661068096df08c02c0903e79f to your computer and use it in GitHub Desktop.
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
@Composable | |
@Preview(showBackground = true) | |
fun BezierTest() { | |
Canvas(modifier = Modifier.size(300.dp), onDraw = { | |
val path = Path().apply { | |
// Here's were we'll draw our custom shape's path | |
} | |
drawPath(path = path, color = CryptoOrange) | |
}) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment