Comments (2)
It works for me, but the scaling and easing don't seem to be working.
from ng2-konva.
just add
...ngComponent.getConfig(),
in
ngComponent.config.next({
shadowOffsetX: 15,
shadowOffsetY: 15,
scaleX: ngComponent.getConfig().startScale * 1.2,
scaleY: ngComponent.getConfig().startScale * 1.2,
});
like this
ngComponent.config.next({
...ngComponent.getConfig(),
shadowOffsetX: 15,
shadowOffsetY: 15,
scaleX: ngComponent.getConfig().startScale * 1.2,
scaleY: ngComponent.getConfig().startScale * 1.2,
});
from ng2-konva.
Related Issues (20)
- Support for Angular 6 and RxJS 6 HOT 21
- how to make use for free hand drawing?
- Animations
- Metadata version mismatch for module HOT 2
- Create custom components HOT 6
- hello How to use "image" in "ng2-konva"
- How to align text in the middle of the screen?
- resizable rectangle
- Documentation on ko-image HOT 5
- Click coordinates? HOT 1
- Demo for Angular Konva not working as intended
- Is this a dead repo? HOT 4
- How to change and update the created list in an HTML template? HOT 2
- Check content of different layers HOT 2
- Cant create dynamic stage component HOT 1
- Transformer HOT 1
- Why does this project no longer seem to be maintained? HOT 2
- Yarn build failed - Development documentation
- problem with disable filter HOT 2
- After the stage is redrawn, the original event will be triggered multiple times. Is there a way to reset or refresh the stage? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from ng2-konva.