-
-
Save markus2610/dea0fb27d26f30856f01ced230a84781 to your computer and use it in GitHub Desktop.
kotlin apply example
This file contains hidden or 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 rainbowPaint = Paint(Paint.ANTI_ALIAS_FLAG).apply { | |
style = Paint.Style.STROKE | |
strokeCap = Paint.Cap.ROUND | |
} |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment