Kinetic js drag, drop, resize and rotate image
You were very close, just using some incorrect method names, and as was said before, the cdn needs to change. function update(activeAnchor) { var group = activeAnchor.getParent(); var topLeft = group.get(‘.topLeft’)[0]; var topRight = group.get(‘.topRight’)[0]; var bottomRight = group.get(‘.bottomRight’)[0]; var bottomLeft = group.get(‘.bottomLeft’)[0]; var image = group.get(‘.image’)[0]; var stage = group.getStage(); var anchorX = activeAnchor.getX(); … Read more