Skip to content
master
Switch branches/tags
Go to file
Code

Latest commit

 

Git stats

Files

Permalink
Failed to load latest commit information.
Type
Name
Latest commit message
Commit time
app
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 
 

Android Graffiti

Thin library to overlay and draw over an image.

Currently Graffiti is based on fresco and uses Postprocessors to draw on images.

Examples

alt tag

Version

Download

HOW TO

Dependencies

dependencies {
    ...
    compile('com.tengio.android:graffiti:latest_version')
    ...
}

By adding locations library dependency you will automatically get the following dependencies:

compile 'com.facebook.fresco:fresco:0.14.1'

Use of PostprocessorPainter

First you prepare the uri for the image request as you normally will do for fresco.

Uri uri = new Uri.Builder()
                .scheme(UriUtil.LOCAL_RESOURCE_SCHEME)
                .path(String.valueOf(R.drawable.species_accipiter_brevipes))
                .build();

The next step is the usage of the PostprocessorPainter to attach the view and the list of objects you want to paint on the image.

        PostprocessorPainter.build(overlayView, uri, Arrays.asList(
        TODO

Type of object you can use to draw

TODO

Library updates

We use bintray to deploy changes to jcenter. To deploy a new version make sure to define BINTRAY_USER and BINTRAY_KEY variables. Then run:

gradle bintrayUpload

About

Library to overlay and draw text on images

Resources

License

Releases

No releases published

Packages

No packages published

Languages