2013-05-13 21:57:17 -04:00
|
|
|
/*
|
|
|
|
* Paper.js - The Swiss Army Knife of Vector Graphics Scripting.
|
|
|
|
* http://paperjs.org/
|
|
|
|
*
|
|
|
|
* Copyright (c) 2011 - 2013, Juerg Lehni & Jonathan Puckey
|
|
|
|
* http://lehni.org/ & http://jonathanpuckey.com/
|
|
|
|
*
|
|
|
|
* Distributed under the MIT license. See LICENSE file for details.
|
|
|
|
*
|
|
|
|
* All rights reserved.
|
|
|
|
*/
|
|
|
|
|
|
|
|
/**
|
|
|
|
* @name Clip
|
|
|
|
*
|
|
|
|
* @class A Clip is a collection of items, similar to a Group. But instead of
|
|
|
|
* automatically passing on transformations to its children by calling
|
|
|
|
* {@link Item#applyMatrix()}, the transformations are stored in the internal
|
|
|
|
* matrix.
|
|
|
|
*
|
|
|
|
* @extends Group
|
|
|
|
*/
|
2013-05-27 15:48:58 -04:00
|
|
|
var Clip = Group.extend(/** @lends Clip# */{
|
|
|
|
_applyMatrix: false,
|
|
|
|
|
|
|
|
initialize: function Clip() {
|
|
|
|
Group.apply(this, arguments);
|
|
|
|
}
|
2013-05-13 21:57:17 -04:00
|
|
|
});
|