Git Product home page Git Product logo

iq-scm / fabricview Goto Github PK

View Code? Open in Web Editor NEW

This project forked from antwankakki/fabricview

0.0 0.0 0.0 230 KB

A new canvas drawing library for Android. Aims to be the Fabric.js for Android. Supports text, images, and hand/stylus drawing input. The library has a website and API docs, check it out

Home Page: http://antwankakki.github.io/FabricView/

License: Apache License 2.0

Java 96.39% HTML 3.61%

fabricview's Introduction

FabricView - Build Status Android Arsenal

A new canvas drawing library for Android. The library was born as part of a project in SD Hacks (www.sdhacks.io) on October 3rd. It is currently under construction and will be refactored and polished in the coming weeks! Stay tuned.

Why? From Doodling on the screen and unleashing the user's creativity to capturing his signature for authentication purposes... The limit is your imagination.

Sample Screen Recording

Screenshot1

How to use? As easy as 1, 2, 3!

Please note this is an alpha build, not feature complete, and can be buggy. If you find any bugs, report them to us here!

  1. Add JitPack to your build.gradle at the end of repositories

allprojects {
    repositories {
        jcenter()
        maven { url "https://jitpack.io" }
        ...
    }
}
 ```
  1. Add FabricView to your dependencies

      	dependencies {
               compile fileTree(include: ['*.jar'], dir: 'libs')
      	        compile 'com.github.antwankakki:FabricView:latest'
               ...
      	}
  2. Add the following to your layout xml file

     <com.agsw.FabricView.FabricView
         android:layout_width="wrap_content"
         android:layout_height="wrap_content"
         android:id="@+id/faricView"
         android:layout_centerHorizontal="true"
         android:layout_alignParentBottom="true" />
  3. You are done! You can now reference it in your classes and do all kinds of cool things with it. Check out the api to see what it can do at http://antwankakki.github.io/FabricView/javadoc/

0.1 Milestone Progress

  • Multiple Input Colors
  • Multiple standard background modes (Notebook style, Graph paper...)
  • Export canvas as image
  • Performance (Redraw only parts of the screen that need to be redrawn)
  • Background Support
  • Images support
  • Undo/Redo Support - ToDo
  • Drawing Text captured directly from keyboard. - ToDo
  • Allowing Resize when inserting images. - ToDo
  • onCanvasChanged Event - ToDo

Future plans

  • Layers and Groups
  • More complex objects
  • Transparency
  • Rotations, translations, scalings

Thanks to...

fabricview's People

Contributors

antwankakki avatar dbachelder avatar emmanuelproulx avatar reali avatar

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    ๐Ÿ–– Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo D3

    Bring data to life with SVG, Canvas and HTML. ๐Ÿ“Š๐Ÿ“ˆ๐ŸŽ‰

Recommend Topics

  • javascript

    JavaScript (JS) is a lightweight interpreted programming language with first-class functions.

  • web

    Some thing interesting about web. New door for the world.

  • server

    A server is a program made to process requests and deliver data to clients.

  • Machine learning

    Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google โค๏ธ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.