update CHANGELOG with new version

This commit is contained in:
Anton Lavrenov
2016-09-15 17:16:29 -04:00
parent e6c1bd4e78
commit baf3769774
3 changed files with 58 additions and 3 deletions

View File

@@ -215,4 +215,29 @@ suite('TextPath', function() {
cloneAndCompareLayer(layer,50);
showHit(layer);
});
test('Text path with letter spacing', function() {
var stage = addStage();
var layer = new Konva.Layer();
var c = "M10,10 C0,0 10,150 100,100 S300,150 400,50";
var textpath = new Konva.TextPath({
stroke: 'black',
strokeWidth: 1,
fill: 'orange',
fontSize: 10,
fontFamily: 'Arial',
letterSpacing: 5,
text: 'All the world\'s a stage, and all the men and women merely players.',
data: c
});
textpath.cache();
layer.add(textpath);
stage.add(layer);
cloneAndCompareLayer(layer,50);
showHit(layer);
});
});