Remove flags parameter in Item#transform() for now.

This commit is contained in:
Jürg Lehni 2011-06-20 17:03:43 +01:00
parent 266c78f4eb
commit 8b66c4fa83

View file

@ -1433,10 +1433,11 @@ var Item = this.Item = Base.extend({
* Transform the item.
*
* @param {Matrix} matrix
* @param {String[]} flags Array of any of the following: 'objects', 'children',
* 'fill-gradients', 'fill-patterns', 'stroke-patterns', 'lines'.
* Default: ['objects', 'children']
*/
// Remove this for now:
// @param {String[]} flags Array of any of the following: 'objects',
// 'children', 'fill-gradients', 'fill-patterns', 'stroke-patterns',
// 'lines'. Default: ['objects', 'children']
transform: function(matrix, flags) {
// TODO: Handle flags, add TransformFlag class and convert to bit mask
// for quicker checking.