mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 02:38:43 -05:00
Add clone test for group with clip-mask.
This commit is contained in:
parent
861f826aa8
commit
14477aac59
1 changed files with 8 additions and 0 deletions
|
@ -118,4 +118,12 @@ test('Raster#clone()', function() {
|
|||
raster.blendMode = 'multiply';
|
||||
raster.rotate(20).translate(100);
|
||||
cloneAndCompare(raster);
|
||||
});
|
||||
|
||||
test('Group with clipmask', function() {
|
||||
var path = new Path.Circle([100, 100], 30),
|
||||
path2 = new Path.Circle([100, 100], 20),
|
||||
group = new Group([path, path2]);
|
||||
group.clipped = true;
|
||||
cloneAndCompare(group);
|
||||
});
|
Loading…
Reference in a new issue