mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-05 20:32:00 -05:00
Remove flags parameter in Item#transform() for now.
This commit is contained in:
parent
266c78f4eb
commit
8b66c4fa83
1 changed files with 4 additions and 3 deletions
|
@ -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.
|
||||
|
|
Loading…
Reference in a new issue