diff --git a/build/preprocess.sh b/build/preprocess.sh index ae32f850..83fcd483 100755 --- a/build/preprocess.sh +++ b/build/preprocess.sh @@ -31,7 +31,7 @@ # stripped Formated but without comments # compressed Uses UglifyJS to reduce file size -VERSION=0.2 +VERSION=0.21 DATE=$(git log -1 --pretty=format:%ad) COMMAND="./prepro.js -d '{ \"version\": $VERSION, \"date\": \"$DATE\" }' -d '$4' $2" diff --git a/dist/docs/classes/CompoundPath.html b/dist/docs/classes/CompoundPath.html index c946fad8..8332fcf7 100644 --- a/dist/docs/classes/CompoundPath.html +++ b/dist/docs/classes/CompoundPath.html @@ -2584,18 +2584,19 @@ points.
options.type: Only hit test again a certain item type: PathItem, Raster, TextItem, etc.
options.fill: Boolean - Hit test the fill of items.
-options.stroke: Boolean - Hit test the curves of path items, -taking into account stroke width.
-options.segment: Boolean - Hit test for segment.point of -Path items.
+options.stroke: Boolean - Hit test the curves of path +items, taking into account stroke width.
+options.segment: Boolean - Hit test for +segment.point of Path items.
options.handles: Boolean - Hit test for the handles (segment.handleIn / segment.handleOut) of path segments.
-options.ends: Boolean - Only hit test for the first or last -segment points of open path items.
-options.bounds: Boolean - Hit test the corners and side-centers -of the bounding rectangle of items (item.bounds).
-options.center: Boolean - Hit test the rectangle.center -of the bounding rectangle of items (item.bounds).
+options.ends: Boolean - Only hit test for the first or +last segment points of open path items.
+options.bounds: Boolean - Hit test the corners and +side-centers of the bounding rectangle of items (item.bounds).
+options.center: Boolean - Hit test the +rectangle.center of the bounding rectangle of items +(item.bounds).
options.guide: Boolean - Hit test items that have item.guide set to true.
options.selected: Boolean - Only hit selected items.
diff --git a/dist/docs/classes/Group.html b/dist/docs/classes/Group.html index 09964e3b..9b4b70bf 100644 --- a/dist/docs/classes/Group.html +++ b/dist/docs/classes/Group.html @@ -1789,18 +1789,19 @@ points.options.type: Only hit test again a certain item type: PathItem, Raster, TextItem, etc.
options.fill: Boolean - Hit test the fill of items.
-options.stroke: Boolean - Hit test the curves of path items, -taking into account stroke width.
-options.segment: Boolean - Hit test for segment.point of -Path items.
+options.stroke: Boolean - Hit test the curves of path +items, taking into account stroke width.
+options.segment: Boolean - Hit test for +segment.point of Path items.
options.handles: Boolean - Hit test for the handles (segment.handleIn / segment.handleOut) of path segments.
-options.ends: Boolean - Only hit test for the first or last -segment points of open path items.
-options.bounds: Boolean - Hit test the corners and side-centers -of the bounding rectangle of items (item.bounds).
-options.center: Boolean - Hit test the rectangle.center -of the bounding rectangle of items (item.bounds).
+options.ends: Boolean - Only hit test for the first or +last segment points of open path items.
+options.bounds: Boolean - Hit test the corners and +side-centers of the bounding rectangle of items (item.bounds).
+options.center: Boolean - Hit test the +rectangle.center of the bounding rectangle of items +(item.bounds).
options.guide: Boolean - Hit test items that have item.guide set to true.
options.selected: Boolean - Only hit selected items.
diff --git a/dist/docs/classes/Item.html b/dist/docs/classes/Item.html index 9528318c..fb3be929 100644 --- a/dist/docs/classes/Item.html +++ b/dist/docs/classes/Item.html @@ -1654,18 +1654,19 @@ points.options.type: Only hit test again a certain item type: PathItem, Raster, TextItem, etc.
options.fill: Boolean - Hit test the fill of items.
-options.stroke: Boolean - Hit test the curves of path items, -taking into account stroke width.
-options.segment: Boolean - Hit test for segment.point of -Path items.
+options.stroke: Boolean - Hit test the curves of path +items, taking into account stroke width.
+options.segment: Boolean - Hit test for +segment.point of Path items.
options.handles: Boolean - Hit test for the handles (segment.handleIn / segment.handleOut) of path segments.
-options.ends: Boolean - Only hit test for the first or last -segment points of open path items.
-options.bounds: Boolean - Hit test the corners and side-centers -of the bounding rectangle of items (item.bounds).
-options.center: Boolean - Hit test the rectangle.center -of the bounding rectangle of items (item.bounds).
+options.ends: Boolean - Only hit test for the first or +last segment points of open path items.
+options.bounds: Boolean - Hit test the corners and +side-centers of the bounding rectangle of items (item.bounds).
+options.center: Boolean - Hit test the +rectangle.center of the bounding rectangle of items +(item.bounds).
options.guide: Boolean - Hit test items that have item.guide set to true.
options.selected: Boolean - Only hit selected items.
diff --git a/dist/docs/classes/Layer.html b/dist/docs/classes/Layer.html index c9bfc7b2..244196e1 100644 --- a/dist/docs/classes/Layer.html +++ b/dist/docs/classes/Layer.html @@ -1748,18 +1748,19 @@ points.options.type: Only hit test again a certain item type: PathItem, Raster, TextItem, etc.
options.fill: Boolean - Hit test the fill of items.
-options.stroke: Boolean - Hit test the curves of path items, -taking into account stroke width.
-options.segment: Boolean - Hit test for segment.point of -Path items.
+options.stroke: Boolean - Hit test the curves of path +items, taking into account stroke width.
+options.segment: Boolean - Hit test for +segment.point of Path items.
options.handles: Boolean - Hit test for the handles (segment.handleIn / segment.handleOut) of path segments.
-options.ends: Boolean - Only hit test for the first or last -segment points of open path items.
-options.bounds: Boolean - Hit test the corners and side-centers -of the bounding rectangle of items (item.bounds).
-options.center: Boolean - Hit test the rectangle.center -of the bounding rectangle of items (item.bounds).
+options.ends: Boolean - Only hit test for the first or +last segment points of open path items.
+options.bounds: Boolean - Hit test the corners and +side-centers of the bounding rectangle of items (item.bounds).
+options.center: Boolean - Hit test the +rectangle.center of the bounding rectangle of items +(item.bounds).
options.guide: Boolean - Hit test items that have item.guide set to true.
options.selected: Boolean - Only hit selected items.
diff --git a/dist/docs/classes/Path.html b/dist/docs/classes/Path.html index 36231796..c31da42a 100644 --- a/dist/docs/classes/Path.html +++ b/dist/docs/classes/Path.html @@ -4900,18 +4900,19 @@ points.options.type: Only hit test again a certain item type: PathItem, Raster, TextItem, etc.
options.fill: Boolean - Hit test the fill of items.
-options.stroke: Boolean - Hit test the curves of path items, -taking into account stroke width.
-options.segment: Boolean - Hit test for segment.point of -Path items.
+options.stroke: Boolean - Hit test the curves of path +items, taking into account stroke width.
+options.segment: Boolean - Hit test for +segment.point of Path items.
options.handles: Boolean - Hit test for the handles (segment.handleIn / segment.handleOut) of path segments.
-options.ends: Boolean - Only hit test for the first or last -segment points of open path items.
-options.bounds: Boolean - Hit test the corners and side-centers -of the bounding rectangle of items (item.bounds).
-options.center: Boolean - Hit test the rectangle.center -of the bounding rectangle of items (item.bounds).
+options.ends: Boolean - Only hit test for the first or +last segment points of open path items.
+options.bounds: Boolean - Hit test the corners and +side-centers of the bounding rectangle of items (item.bounds).
+options.center: Boolean - Hit test the +rectangle.center of the bounding rectangle of items +(item.bounds).
options.guide: Boolean - Hit test items that have item.guide set to true.
options.selected: Boolean - Only hit selected items.
diff --git a/dist/docs/classes/PathItem.html b/dist/docs/classes/PathItem.html index 70b21cfa..4cce21b1 100644 --- a/dist/docs/classes/PathItem.html +++ b/dist/docs/classes/PathItem.html @@ -2481,18 +2481,19 @@ points.options.type: Only hit test again a certain item type: PathItem, Raster, TextItem, etc.
options.fill: Boolean - Hit test the fill of items.
-options.stroke: Boolean - Hit test the curves of path items, -taking into account stroke width.
-options.segment: Boolean - Hit test for segment.point of -Path items.
+options.stroke: Boolean - Hit test the curves of path +items, taking into account stroke width.
+options.segment: Boolean - Hit test for +segment.point of Path items.
options.handles: Boolean - Hit test for the handles (segment.handleIn / segment.handleOut) of path segments.
-options.ends: Boolean - Only hit test for the first or last -segment points of open path items.
-options.bounds: Boolean - Hit test the corners and side-centers -of the bounding rectangle of items (item.bounds).
-options.center: Boolean - Hit test the rectangle.center -of the bounding rectangle of items (item.bounds).
+options.ends: Boolean - Only hit test for the first or +last segment points of open path items.
+options.bounds: Boolean - Hit test the corners and +side-centers of the bounding rectangle of items (item.bounds).
+options.center: Boolean - Hit test the +rectangle.center of the bounding rectangle of items +(item.bounds).
options.guide: Boolean - Hit test items that have item.guide set to true.
options.selected: Boolean - Only hit selected items.
diff --git a/dist/docs/classes/PlacedItem.html b/dist/docs/classes/PlacedItem.html index 18e366cf..efbc37cf 100644 --- a/dist/docs/classes/PlacedItem.html +++ b/dist/docs/classes/PlacedItem.html @@ -1695,18 +1695,19 @@ points.options.type: Only hit test again a certain item type: PathItem, Raster, TextItem, etc.
options.fill: Boolean - Hit test the fill of items.
-options.stroke: Boolean - Hit test the curves of path items, -taking into account stroke width.
-options.segment: Boolean - Hit test for segment.point of -Path items.
+options.stroke: Boolean - Hit test the curves of path +items, taking into account stroke width.
+options.segment: Boolean - Hit test for +segment.point of Path items.
options.handles: Boolean - Hit test for the handles (segment.handleIn / segment.handleOut) of path segments.
-options.ends: Boolean - Only hit test for the first or last -segment points of open path items.
-options.bounds: Boolean - Hit test the corners and side-centers -of the bounding rectangle of items (item.bounds).
-options.center: Boolean - Hit test the rectangle.center -of the bounding rectangle of items (item.bounds).
+options.ends: Boolean - Only hit test for the first or +last segment points of open path items.
+options.bounds: Boolean - Hit test the corners and +side-centers of the bounding rectangle of items (item.bounds).
+options.center: Boolean - Hit test the +rectangle.center of the bounding rectangle of items +(item.bounds).
options.guide: Boolean - Hit test items that have item.guide set to true.
options.selected: Boolean - Only hit selected items.
diff --git a/dist/docs/classes/PlacedSymbol.html b/dist/docs/classes/PlacedSymbol.html index de697a13..0b7c7db8 100644 --- a/dist/docs/classes/PlacedSymbol.html +++ b/dist/docs/classes/PlacedSymbol.html @@ -1781,18 +1781,19 @@ points.options.type: Only hit test again a certain item type: PathItem, Raster, TextItem, etc.
options.fill: Boolean - Hit test the fill of items.
-options.stroke: Boolean - Hit test the curves of path items, -taking into account stroke width.
-options.segment: Boolean - Hit test for segment.point of -Path items.
+options.stroke: Boolean - Hit test the curves of path +items, taking into account stroke width.
+options.segment: Boolean - Hit test for +segment.point of Path items.
options.handles: Boolean - Hit test for the handles (segment.handleIn / segment.handleOut) of path segments.
-options.ends: Boolean - Only hit test for the first or last -segment points of open path items.
-options.bounds: Boolean - Hit test the corners and side-centers -of the bounding rectangle of items (item.bounds).
-options.center: Boolean - Hit test the rectangle.center -of the bounding rectangle of items (item.bounds).
+options.ends: Boolean - Only hit test for the first or +last segment points of open path items.
+options.bounds: Boolean - Hit test the corners and +side-centers of the bounding rectangle of items (item.bounds).
+options.center: Boolean - Hit test the +rectangle.center of the bounding rectangle of items +(item.bounds).
options.guide: Boolean - Hit test items that have item.guide set to true.
options.selected: Boolean - Only hit selected items.
diff --git a/dist/docs/classes/PointText.html b/dist/docs/classes/PointText.html index 20cb8112..2ebd14af 100644 --- a/dist/docs/classes/PointText.html +++ b/dist/docs/classes/PointText.html @@ -1744,18 +1744,19 @@ points.options.type: Only hit test again a certain item type: PathItem, Raster, TextItem, etc.
options.fill: Boolean - Hit test the fill of items.
-options.stroke: Boolean - Hit test the curves of path items, -taking into account stroke width.
-options.segment: Boolean - Hit test for segment.point of -Path items.
+options.stroke: Boolean - Hit test the curves of path +items, taking into account stroke width.
+options.segment: Boolean - Hit test for +segment.point of Path items.
options.handles: Boolean - Hit test for the handles (segment.handleIn / segment.handleOut) of path segments.
-options.ends: Boolean - Only hit test for the first or last -segment points of open path items.
-options.bounds: Boolean - Hit test the corners and side-centers -of the bounding rectangle of items (item.bounds).
-options.center: Boolean - Hit test the rectangle.center -of the bounding rectangle of items (item.bounds).
+options.ends: Boolean - Only hit test for the first or +last segment points of open path items.
+options.bounds: Boolean - Hit test the corners and +side-centers of the bounding rectangle of items (item.bounds).
+options.center: Boolean - Hit test the +rectangle.center of the bounding rectangle of items +(item.bounds).
options.guide: Boolean - Hit test items that have item.guide set to true.
options.selected: Boolean - Only hit selected items.
diff --git a/dist/docs/classes/Raster.html b/dist/docs/classes/Raster.html index bbe7eae3..21c0e17a 100644 --- a/dist/docs/classes/Raster.html +++ b/dist/docs/classes/Raster.html @@ -2365,18 +2365,19 @@ points.options.type: Only hit test again a certain item type: PathItem, Raster, TextItem, etc.
options.fill: Boolean - Hit test the fill of items.
-options.stroke: Boolean - Hit test the curves of path items, -taking into account stroke width.
-options.segment: Boolean - Hit test for segment.point of -Path items.
+options.stroke: Boolean - Hit test the curves of path +items, taking into account stroke width.
+options.segment: Boolean - Hit test for +segment.point of Path items.
options.handles: Boolean - Hit test for the handles (segment.handleIn / segment.handleOut) of path segments.
-options.ends: Boolean - Only hit test for the first or last -segment points of open path items.
-options.bounds: Boolean - Hit test the corners and side-centers -of the bounding rectangle of items (item.bounds).
-options.center: Boolean - Hit test the rectangle.center -of the bounding rectangle of items (item.bounds).
+options.ends: Boolean - Only hit test for the first or +last segment points of open path items.
+options.bounds: Boolean - Hit test the corners and +side-centers of the bounding rectangle of items (item.bounds).
+options.center: Boolean - Hit test the +rectangle.center of the bounding rectangle of items +(item.bounds).
options.guide: Boolean - Hit test items that have item.guide set to true.
options.selected: Boolean - Only hit selected items.
diff --git a/dist/docs/classes/TextItem.html b/dist/docs/classes/TextItem.html index afc089b0..1a9860a6 100644 --- a/dist/docs/classes/TextItem.html +++ b/dist/docs/classes/TextItem.html @@ -1802,18 +1802,19 @@ points.options.type: Only hit test again a certain item type: PathItem, Raster, TextItem, etc.
options.fill: Boolean - Hit test the fill of items.
-options.stroke: Boolean - Hit test the curves of path items, -taking into account stroke width.
-options.segment: Boolean - Hit test for segment.point of -Path items.
+options.stroke: Boolean - Hit test the curves of path +items, taking into account stroke width.
+options.segment: Boolean - Hit test for +segment.point of Path items.
options.handles: Boolean - Hit test for the handles (segment.handleIn / segment.handleOut) of path segments.
-options.ends: Boolean - Only hit test for the first or last -segment points of open path items.
-options.bounds: Boolean - Hit test the corners and side-centers -of the bounding rectangle of items (item.bounds).
-options.center: Boolean - Hit test the rectangle.center -of the bounding rectangle of items (item.bounds).
+options.ends: Boolean - Only hit test for the first or +last segment points of open path items.
+options.bounds: Boolean - Hit test the corners and +side-centers of the bounding rectangle of items (item.bounds).
+options.center: Boolean - Hit test the +rectangle.center of the bounding rectangle of items +(item.bounds).
options.guide: Boolean - Hit test items that have item.guide set to true.
options.selected: Boolean - Only hit selected items.
diff --git a/dist/docs/classes/Tool.html b/dist/docs/classes/Tool.html index 4a07cfce..8c5f0347 100644 --- a/dist/docs/classes/Tool.html +++ b/dist/docs/classes/Tool.html @@ -518,6 +518,62 @@ keys. + + + diff --git a/dist/docs/classes/View.html b/dist/docs/classes/View.html index ad23c19a..bfcb8e9e 100644 --- a/dist/docs/classes/View.html +++ b/dist/docs/classes/View.html @@ -50,8 +50,9 @@ screen.