All Projects → akshay2211 → DrawBox

akshay2211 / DrawBox

Licence: Apache-2.0 license
DrawBox is a multi-purpose tool to draw anything on canvas, written completely on jetpack compose.

Programming Languages

kotlin
9241 projects

Projects that are alternatives of or similar to DrawBox

kev
Develop Kubernetes apps iteratively with Docker-Compose
Stars: ✭ 61 (-58.78%)
Mutual labels:  compose
arkitekt
Arkitekt is a set of architectural tools based on Android Architecture Components, which gives you a solid base to implement the concise, testable and solid application.
Stars: ✭ 114 (-22.97%)
Mutual labels:  compose
me
A Jetpack Compose Kotlin Multiplatform WYSIWYG blog editor
Stars: ✭ 62 (-58.11%)
Mutual labels:  compose
ugo
An extensible and composable cli
Stars: ✭ 12 (-91.89%)
Mutual labels:  composable
BlackboardRecordDemo
No description or website provided.
Stars: ✭ 35 (-76.35%)
Mutual labels:  compose
react-gearbox
⚙️📦 Gearbox - Renderless state provisioning and composition
Stars: ✭ 31 (-79.05%)
Mutual labels:  compose
rocket-pipes
Powerful pipes for TypeScript, that chain Promise and ADT for you 🚌 -> ⛰️ -> 🚠 -> 🏂 -> 🚀
Stars: ✭ 18 (-87.84%)
Mutual labels:  compose
ComposableSweetToast
Jetpack Compose, Custom Toast, Solid Principles, Kotlin
Stars: ✭ 60 (-59.46%)
Mutual labels:  composable
resaca
The right scope for View Models in Android Compose
Stars: ✭ 105 (-29.05%)
Mutual labels:  compose
vec-la-fp
↗️ A tiny (functional) 2d linear algebra library
Stars: ✭ 21 (-85.81%)
Mutual labels:  composable
neon
Provides Jetpack Compose support for different image loading libraries.
Stars: ✭ 13 (-91.22%)
Mutual labels:  compose
MapCompose
A fast, memory efficient Jetpack Compose library to display tiled maps, with support for markers, paths, and rotation.
Stars: ✭ 82 (-44.59%)
Mutual labels:  compose
compose plantuml
Generate Plantuml graphs from docker-compose files
Stars: ✭ 77 (-47.97%)
Mutual labels:  compose
Kamel
Kotlin asynchronous media loading and caching library for Compose.
Stars: ✭ 138 (-6.76%)
Mutual labels:  compose
wordle-kt
Wordle game clone made with Kotlin & Compose
Stars: ✭ 33 (-77.7%)
Mutual labels:  compose
Root-Checker
Displays all root related info(Device Rooted, Root Available, Root Path, Root given, Busy Box installation) of an Android Device. Fully implemented in Jetpack compose using Material 3 dynamic theming and also has a separate implementation in xml with MDC 3.
Stars: ✭ 21 (-85.81%)
Mutual labels:  compose
dockerfiles
Dockerfiles for vault, consul, test-kitchen, etsy-mixer, curl-loader, fwd, toolkit
Stars: ✭ 18 (-87.84%)
Mutual labels:  compose
kmm
Rick & Morty Kotlin Multiplatform Mobile: Ktor, Sqldelight, Koin, Flow, MVI, SwiftUI, Compose
Stars: ✭ 52 (-64.86%)
Mutual labels:  compose
kobweb
A modern framework for full stack web apps in Kotlin, built upon Compose for Web
Stars: ✭ 367 (+147.97%)
Mutual labels:  compose
koa-better-router
❤️ Stable and lovely router for `koa`, using `path-match`. Foundation for building powerful, flexible and RESTful APIs easily.
Stars: ✭ 88 (-40.54%)
Mutual labels:  composable

DrawBox

Android Weekly Android Arsenal Kotlin Weekly Maven Central Google Dev Library

DrawBox is a multi-purpose tool to draw anything on canvas, written completely on jetpack compose.

Features

  • Customisable stoke size and color
  • Inbuilt Undo and Redo options
  • Reset option
  • Easy Implementations
  • Export feature to store history localy
  • Written on Jetpack-Compose

Demo

Usage

val controller = rememberDrawController()

DrawBox(drawController = controller, modifier = Modifier.fillMaxSize().weight(1f, true))

With multiple methods in DrawController

* setStrokeColor(color: Color)
* setStrokeWidth(width: Float)
* unDo()
* reDo()
* reset()
* getDrawBoxBitmap()    // gives the result bitmap from canvas
* importPath(path)
* exportPath()

Download

Download or grab via Gradle:

include in app level build.gradle

repositories {
   mavenCentral()
}
 implementation  'io.ak1:drawbox:1.0.2'

or Maven:

<dependency>
  <groupId>io.ak1</groupId>
  <artifactId>drawbox</artifactId>
  <version>1.0.2</version>
  <type>pom</type>
</dependency>

or ivy:

<dependency org='io.ak1' name='drawbox' rev='1.0.2'>
  <artifact name='drawbox' ext='pom' ></artifact>
</dependency>

Thanks to

RangVikalp for the beautiful color picker used in DrawBox

License

Licensed under the Apache License, Version 2.0, click here for the full license.

Author & support

This project was created by Akshay Sharma.

If you appreciate my work, consider buying me a cup of to keep me recharged 🤘 by PayPal

I love using my work and I'm available for contract work. Freelancing helps to maintain and keep my open source projects up to date!

Note that the project description data, including the texts, logos, images, and/or trademarks, for each open source project belongs to its rightful owner. If you wish to add or remove any projects, please contact us at [email protected].