Skip to content

Instantly share code, notes, and snippets.

@AndreVero
Created February 24, 2024 13:57
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 AndreVero/26691dcc068db775843ec4fbf7d399af to your computer and use it in GitHub Desktop.
Save AndreVero/26691dcc068db775843ec4fbf7d399af to your computer and use it in GitHub Desktop.
Drawing of the main circle
val mainCircleOffset = Offset(x = circleCenter.x, y = circleCenter.y)
// Draw main circle in the center
drawCircleInfo(
item = mainItem,
innerCircleRadius = innerCircleRadius,
iconScale = iconScale,
textStyle = textStyle,
textMeasurer = textMeasurer,
animationValue = animateFloat.value,
currentOffset = mainCircleOffset
)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment