stage.toDataURL() in sync way

This commit is contained in:
lavrton
2015-05-25 11:26:30 +07:00
parent 531f18e43e
commit b09b22ad82
5 changed files with 38 additions and 27 deletions

View File

@@ -18,6 +18,7 @@ This project adheres to [Semantic Versioning](http://semver.org/).
- `toDataURL` now handle pixelRatio. you can pass `config.pixelRatio` argument
- Correct `clone()` for custom nodes
- `FastLayer` now can have transforms
- `stage.toDataURL()` method now works in synchronous way. So `callback` argument is not required.
### Added
- new `Konva.Image.fromURL` method