Skip to content

Instantly share code, notes, and snippets.

@zurche
Last active July 27, 2023 11:07
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 zurche/d6fdab0f6725404b8e978d6c171c710c to your computer and use it in GitHub Desktop.
Save zurche/d6fdab0f6725404b8e978d6c171c710c to your computer and use it in GitHub Desktop.
val stroke = Path().apply {
moveTo(size.width.times(.9f), size.height.times(0f))
quadraticBezierTo(
size.width.times(.9f), size.height.times(.28f),
size.width.times(.73f), size.height.times(.15f)
)
quadraticBezierTo(
size.width.times(.53f), size.height.times(0f),
size.width.times(.55f), size.height.times(.25f)
)
}
drawPath(
stroke,
color = CryptoOrange4,
style = Stroke(
width = 50f,
cap = StrokeCap.Round
)
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment