Move #applyMatrix setting to PathItem.

This commit is contained in:
Jürg Lehni 2013-04-19 13:16:00 -07:00
parent 8d99aa5f95
commit 67203e753c
3 changed files with 2 additions and 4 deletions

View file

@ -25,8 +25,6 @@ var CompoundPath = this.CompoundPath = PathItem.extend(/** @lends CompoundPath#
_serializeFields: {
pathData: ''
},
// CompoundPaths directly apply transformations to their Paths by default.
applyMatrix: true,
/**
* Creates a new compound path item and places it in the active layer.

View file

@ -24,8 +24,6 @@ var Path = this.Path = PathItem.extend(/** @lends Path# */{
segments: [],
closed: false
},
// Paths directly apply transformations to the Segments by default.
applyMatrix: true,
/**
* Creates a new Path item and places it at the top of the active layer.

View file

@ -20,6 +20,8 @@
* @extends Item
*/
var PathItem = this.PathItem = Item.extend(/** @lends PathItem# */{
// All PathItems directly apply transformations by default.
applyMatrix: true,
/**
* Returns all intersections between two {@link PathItem} items as an array