Ecosyste.ms: Awesome
An open API service indexing awesome lists of open source software.
https://github.com/steelkiwi/sketchview
SketchView library provides a custom implementation of a canvas on which user can draw via gestures
https://github.com/steelkiwi/sketchview
Last synced: 7 days ago
JSON representation
SketchView library provides a custom implementation of a canvas on which user can draw via gestures
- Host: GitHub
- URL: https://github.com/steelkiwi/sketchview
- Owner: steelkiwi
- License: apache-2.0
- Created: 2014-04-29T15:09:07.000Z (over 10 years ago)
- Default Branch: master
- Last Pushed: 2014-04-29T15:12:28.000Z (over 10 years ago)
- Last Synced: 2023-08-03T09:38:17.730Z (over 1 year ago)
- Language: Java
- Size: 2.04 MB
- Stars: 13
- Watchers: 4
- Forks: 2
- Open Issues: 0
-
Metadata Files:
- Readme: README.md
- License: LICENSE
Awesome Lists containing this project
README
SketchView Library & Sample
===========================SketchView library provides a custom implementation of a canvas on which user can draw via gestures.
SketchView sample is a template-like sketch editor with following basic actions:
1. Set brush color (from a range of available colors).
2. Set brush size (from a set of available sizes).
3. Set eraser size (from a set of available sizes).
4. Set image as background of the sketch.
5. Undo option (all gestures can be undone).
6. Save sketch.
7. Share sketch.
Further improvement:
* Add support for zoom in/out and translation via gestures to SketchView.How to use
----------Simply put SketchView into your layout:
```xml
```
To manipulate SketchView use its public methods:
* setBrushes()
* setSketchBackground()
* setGestureColorAndSize()
* undoLastGesture()
* getSketchBimap()More details are in SketchView sample.
![Screenshot 1: editor](screenshots/editor.png?raw=true)
![Screenshot 2: brush color picker](screenshots/brush_color_picker.png?raw=true)
![Screenshot 3: brush size picker](screenshots/brush_size_picker.png?raw=true)
![Screenshot 4: eraser size picker](screenshots/eraser_size_picker.png?raw=true)
![Screenshot 5: sketch](screenshots/sketch.png?raw=true)