var text = new Kinetic.Text({ x: 10, y: 15, text: 'Simple Text', fontsize: 30, fontFamily: 'Calibri', fill: 'green' });
i want my text to end at 10,15 irrespective to starting position same y position is it possible
var text = new Kinetic.Text({ x: 10, y: 15, text: 'Simple Text', fontsize: 30, fontFamily: 'Calibri', fill: 'green' });
i want my text to end at 10,15 irrespective to starting position same y position is it possible
You can right-align your test using the Kinetic.Text
align
property: