Created
May 23, 2023 12:21
-
-
Save V-Abhilash-1999/ca75142ce2b9ac7a890fd09387ef0efc 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
val linePaint = Paint() | |
linePaint.strokeWidth = 0F | |
for (i in hueColors.indices) { | |
linePaint.color = hueColors[i] | |
hueCanvas.drawLine(i.toFloat(), 0F, i.toFloat(), huePanel.bottom, linePaint) | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment