[android-components](../../index.md) / [mozilla.components.feature.qr.views](../index.md) / [CustomViewFinder](index.md) / [onDraw](./on-draw.md)

# onDraw

`fun onDraw(canvas: <ERROR CLASS>): `[`Unit`](https://kotlinlang.org/api/latest/jvm/stdlib/kotlin/-unit/index.html) [(source)](https://github.com/mozilla-mobile/android-components/blob/master/components/feature/qr/src/main/java/mozilla/components/feature/qr/views/CustomViewFinder.kt#L119)