section-engineering-education / engineering-education

“Section's Engineering Education (EngEd) Program is dedicated to offering a unique quality community experience for computer science university students."
Apache License 2.0
363 stars 890 forks source link

Getting Started with Canvas API in Jetpack Compose #6619

Closed kirwa-elyjah closed 2 years ago

kirwa-elyjah commented 2 years ago

Getting Started with Canvas in Jetpack Compose

Wrinting sample(s):

https://www.section.io/engineering-education/creating-custom-animated-shimmer-effect-with-jetpack-compose/

Proposed article introduction

The Jetpack Compose canvas is Native android canvas API’s from the UI toolkit but more accessible and is a lot easier to use and create things. The Canvas is exposed as a composable function in the Jetpack Compose UI framework and you can place the Canvas in your layout the same way you would with any other Compose UI element. It simplifies a lot of things for us and handles different Canvas drawing states for us. We all know working with those Paint objects was so difficult and can easily cause performance issues as well. These things are already handled by Jetpack Compose Canvas API.

This tutorial well look at the Canvas API in a more deeper way, give the reader an understanding of it Capabilities and how to use it.

Key takeaways

Article quality

My article we cover the Jetpack Canvas API in more depth as opposed to what is covered in other blogs

References

https://developer.android.com/jetpack/compose/graphics

LinusMuema commented 2 years ago

Hi @kirwa-elyjah

Thanks for submitting your topic suggestion. However, your topic has been covered in this article on section and other websites on the internet. Therefore, we cannot move forward with the article.

Feel free to explore other topics.