{"repo":"GetStream/sketchbook-compose","free":true,"listed":false,"github":"https://github.com/GetStream/sketchbook-compose","clone":"git clone https://github.com/GetStream/sketchbook-compose.git","description":"🎨 Jetpack Compose canvas library that helps you draw paths, images on canvas with color pickers and palettes.","language":"Kotlin","stars":476,"topics":["android","jetpack-compose","canvas","sketchbook","getstream"],"license":"Apache-2.0","category":"mobile-apps","readme_excerpt":"🎨 Jetpack Compose canvas library that helps you draw paths and images on canvas with color pickers and palettes. Sketchbook also provides useful components and functions that can easily interact with canvas. Preview Contribution 💙 Sketchbook is maintained by Stream . If you’re interested in adding powerful In-App Messaging to your app, check out the Stream Chat Tutorial for Jetpack Compose ! Also, anyone can contribute to improving code, docs, or something following our Contributing Guideline. Download Gradle Add the dependency below to your module 's build.gradle file: SNAPSHOT See how to import the snapshot Including the SNAPSHOT Snapshots of the current development version of Sketchbook are available, which track the latest versions. To import snapshot versions on your project, add the code snippet below on your gradle file. Next, add the below dependency to your module 's build.gradle file. Usage First, you should initialize SketchbookController , which allows you to control the Sketchbook and all components. Next, you can implement your drawing canvas with the Sketchbook composable function: Sketchbook Sketchbook implements canvas, which allows you to draw paths with custom properties. It interacts with SketchbookController to control other components. You can use the Sketchbook as the following example: SketchbookController SketchbookController interacts with Sketchbook and it allows you to control the canvas and all of the components with it. Undo and Redo Sketchbook","default_branch":null,"files":null,"tree":[],"storefront":"/r/GetStream","claimed":false,"request_supported":{"post":"https://gitbuyer.com/r/GetStream/sketchbook-compose/request-supported","requests":0},"note":"indexed from public GitHub; nothing is for sale on this page. Clone it from GitHub. Paid listings live at /search."}