-
Notifications
You must be signed in to change notification settings - Fork 0
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
Showing
1 changed file
with
64 additions
and
3 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,4 +1,65 @@ | ||
# simplePaint | ||
## coming soon ... | ||
jquery.simplePaint.js | ||
========== | ||
[![MIT License][license-image]][license-url] | ||
|
||
<img src='https://user-images.githubusercontent.com/18533793/53453215-2f6aa100-3a2c-11e9-88c1-1c576e9ffaa3.PNG' > | ||
[license-image]: http://img.shields.io/badge/license-MIT-blue.svg?style=flat | ||
[license-url]: LICENSE | ||
|
||
### Simple jQuery Drawing App | ||
|
||
### Last version: | ||
* 1.0.0 | ||
|
||
### Support: | ||
* Paint Options: | ||
- pen | ||
- shapes | ||
- line | ||
- triangular | ||
- rectangle | ||
- circle | ||
- text | ||
- background image | ||
* more buttons options: | ||
- undo/redo | ||
- eraser | ||
- save as image | ||
- clear | ||
- colors | ||
* and more ... see demo | ||
|
||
### Demo | ||
* See demo <a href="http://meshesha.js.org/simplePaint/" target="_blank">here</a>. | ||
|
||
### usage: | ||
include necessary css files: | ||
``` | ||
<link rel="stylesheet" href="jquery.simplePaint.css"> | ||
``` | ||
include necessary js files: | ||
``` | ||
<script type="text/javascript" src="./path/to/jquery.min.js"></script> | ||
<script type="text/javascript" src="jquery.simplePaint.js"></script> | ||
``` | ||
html body : | ||
``` | ||
... | ||
<div id="your_div_container"></div> | ||
... | ||
``` | ||
add javascript: | ||
``` | ||
<script type="text/javascript"> | ||
$("#your_div_container").simplePaint({ | ||
width: "600px", /*in pixel only*/ | ||
height: "450px", /*in pixel only*/ | ||
buttons: [], /*options: ["pen", "line", "triangle", "rect", "circle", "text", "eraser", "undo", "redo", "clear", "image", "save"]*/ | ||
canvasBgColor: "rgb(224, 239, 253)" /*cnavas background color*/ | ||
}); | ||
</script> | ||
``` | ||
|
||
|
||
### Changelog: | ||
v.1.0.0: | ||
- first releases |