---
title: "Comment by Vincent Tsen on \"Truck Art - Android Jetpack Compose Canvas\" | Hashnode"
description: "Is this Canvas code driven? Do we still need to define the layout?"
url: "https://hashnode.com/posts/truck-art-android-jetpack-compose-canvas/61572ce328ed304eb1d81780/comment/615be621ad6beb6f6506ff07"
---

[Discussion](https://hashnode.com/posts/truck-art-android-jetpack-compose-canvas/61572ce328ed304eb1d81780)

Comment [Truck Art - Android Jetpack Compose Canvas](https://hashnode.com/posts/truck-art-android-jetpack-compose-canvas/61572ce328ed304eb1d81780)

[Vincent Tsen](https://hashnode.com/@vtsen)

[Oct 5, 2021](https://hashnode.com/posts/truck-art-android-jetpack-compose-canvas/61572ce328ed304eb1d81780/comment/615be621ad6beb6f6506ff07)

Is this Canvas code driven? Do we still need to define the layout?

[Junaid Ahmad](https://hashnode.com/@JunydDev)

[Oct 7, 2021](https://hashnode.com/posts/truck-art-android-jetpack-compose-canvas/61572ce328ed304eb1d81780/comment/615be621ad6beb6f6506ff07#reply-615e97c48e8734462af5bf50)

Yes, the Canvas is code-driven. Compose UI provides Canvas as composable which is quite handy to draw different shapes on it.
