Skip to content

Instantly share code, notes, and snippets.



Last active Mar 21, 2019
What would you like to do?
Custom Canvas Drawing with KTX
canvas.withTranslation(200f, 300f) {
drawCircle(150f, 150f, RADIUS, circlePaint)
withRotation(45f) {
drawRect(rect, rectPaint)
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment