# Getting started with Canvas in Compose

DevFeed: [Getting started with Canvas in Compose](<https://devfeed.tech/articles/getting-started-with-canvas-in-compose-22659.md>)

Original publisher: [Read original article](<https://www.valueof.io/blog/jetpack-compose-canvas-custom-component-ondraw-drawscope>)

Author: James Shvarts

Published: 2022-04-04T21:24:55Z

Content type: tutorial

Language: en

Sources: [Android Blog - Mobile Dev Notes](<https://devfeed.tech/sources/android-blog-mobile-dev-notes.md>)

Topics: [Jetpack Compose](<https://devfeed.tech/topics/jetpack-compose.md>), [Canvas](<https://devfeed.tech/topics/canvas.md>), [ui](<https://devfeed.tech/topics/ui.md>)

Tags: [canvas](<https://devfeed.tech/tags/canvas.md>), [component](<https://devfeed.tech/tags/component.md>), [compose](<https://devfeed.tech/tags/compose.md>), [declarative](<https://devfeed.tech/tags/declarative.md>), [examples](<https://devfeed.tech/tags/examples.md>), [jetpack-compose](<https://devfeed.tech/tags/jetpack-compose.md>)

## AI overview

A tutorial on using Canvas in Jetpack Compose to draw shapes, manage sizing, and build reusable custom components. It also compares drawing directly with Canvas to drawing behind an existing composable using a modifier.

## Source excerpt

Explore DrawScope and create your first custom component using Canvas in Jetpack Compose