paper.js/src/item/Clip.js
Jürg Lehni 10d5de3ed6 Implement a better way to name and export class constructors.
This change also simplified the way classes are exported to PaperScope objects.
2013-05-27 12:48:58 -07:00

29 lines
729 B
JavaScript

/*
* 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
*/
var Clip = Group.extend(/** @lends Clip# */{
_applyMatrix: false,
initialize: function Clip() {
Group.apply(this, arguments);
}
});