Skip to content
This repository was archived by the owner on Aug 25, 2022. It is now read-only.

Commit 4b10875

Browse files
committed
Updated README to display new options.
1 parent d811fcf commit 4b10875

File tree

1 file changed

+2
-0
lines changed

1 file changed

+2
-0
lines changed

README.md

Lines changed: 2 additions & 0 deletions
Original file line numberDiff line numberDiff line change
@@ -25,6 +25,7 @@ Settings are available per plugin. Meaning only when that plugin is included wi
2525

2626
```js
2727
$.fn.wPaint.defaults = {
28+
path: '/', // set absolute path for images and cursors
2829
theme: 'standard classic', // set theme
2930
autoScaleImage: true, // auto scale images to size of canvas (fg and bg)
3031
autoCenterImage: true, // auto center images (fg and bg, default is left/top corner)
@@ -34,6 +35,7 @@ $.fn.wPaint.defaults = {
3435
menuOffsetTop: 5, // top offset of primary menu
3536
bg: null, // set bg on init
3637
image: null, // set image on init
38+
imageStretch: false, // stretch smaller images to full canvans dimensions
3739
onShapeDown: null, // callback for draw down event
3840
onShapeMove: null, // callback for draw move event
3941
onShapeUp: null // callback for draw up event

0 commit comments

Comments
 (0)