finished up pattern fill support

This commit is contained in:
Eric Rowell
2012-05-13 10:27:40 -07:00
parent 81df49e75d
commit e4f5e11792
5 changed files with 67 additions and 14 deletions

View File

@@ -92,8 +92,8 @@ Test.prototype.tests = {
radius: 70,
fill: {
image: imageObj,
repeat: 'repeat',
offset: [20, 20]
repeat: 'no-repeat',
offset: [-200, -70]
},
stroke: 'black',
strokeWidth: 4,
@@ -105,6 +105,7 @@ Test.prototype.tests = {
layer.add(group);
stage.add(layer);
test(circle.getFill().repeat === 'no-repeat', 'repeat option should be no-repeat');
};
imageObj.src = '../darth-vader.jpg';