Created
May 24, 2016 14:38
-
-
Save stepango/17b0501cb1b0892a7f4142dd756f4a5c 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