From 4fa6ffeb01bad27e8da1158c91a50b28c92c7e89 Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Mon, 1 Aug 2011 12:05:06 +0100 Subject: [PATCH] Update docs and dist version to 0.2. --- dist/docs/classes/CharacterStyle.html | 1 + dist/docs/classes/Color.html | 1 + dist/docs/classes/CompoundPath.html | 78 + dist/docs/classes/Curve.html | 1 + dist/docs/classes/CurveLocation.html | 1 + dist/docs/classes/Event.html | 1 + dist/docs/classes/Gradient.html | 1 + dist/docs/classes/GradientColor.html | 1 + dist/docs/classes/GradientStop.html | 1 + dist/docs/classes/GrayColor.html | 1 + dist/docs/classes/Group.html | 78 + dist/docs/classes/HSBColor.html | 1 + dist/docs/classes/HSLColor.html | 5 +- dist/docs/classes/HitResult.html | 225 +- dist/docs/classes/Item.html | 78 + dist/docs/classes/Key.html | 1 + dist/docs/classes/KeyEvent.html | 1 + dist/docs/classes/Layer.html | 78 + dist/docs/classes/Line.html | 1 + dist/docs/classes/Matrix.html | 462 +++- dist/docs/classes/PaperScope.html | 475 ++++ dist/docs/classes/PaperScript.html | 137 + dist/docs/classes/ParagraphStyle.html | 1 + dist/docs/classes/Path.html | 168 ++ dist/docs/classes/PathItem.html | 78 + dist/docs/classes/PathStyle.html | 1 + dist/docs/classes/PlacedItem.html | 78 + dist/docs/classes/PlacedSymbol.html | 78 + dist/docs/classes/Point.html | 27 +- dist/docs/classes/PointText.html | 78 + dist/docs/classes/Project.html | 94 +- dist/docs/classes/RGBColor.html | 1 + dist/docs/classes/Raster.html | 78 + dist/docs/classes/Rectangle.html | 1 + dist/docs/classes/Segment.html | 1 + dist/docs/classes/Size.html | 1 + dist/docs/classes/Symbol.html | 1 + dist/docs/classes/TextItem.html | 78 + dist/docs/classes/Tool.html | 49 +- dist/docs/classes/ToolEvent.html | 36 + dist/docs/classes/View.html | 1 + dist/docs/classes/global.html | 82 +- dist/docs/classes/index.html | 10 + dist/docs/index.html | 1 + dist/docs/resources/js/paper.js | 3590 +++++++++++++++---------- dist/docs/resources/js/reference.js | 9 +- dist/paper.js | 578 ++-- 47 files changed, 4846 insertions(+), 1903 deletions(-) create mode 100644 dist/docs/classes/PaperScope.html create mode 100644 dist/docs/classes/PaperScript.html diff --git a/dist/docs/classes/CharacterStyle.html b/dist/docs/classes/CharacterStyle.html index 7b2ea6e5..b1692846 100644 --- a/dist/docs/classes/CharacterStyle.html +++ b/dist/docs/classes/CharacterStyle.html @@ -1,6 +1,7 @@ + CharacterStyle diff --git a/dist/docs/classes/Color.html b/dist/docs/classes/Color.html index 0bb10a72..55f39f9c 100644 --- a/dist/docs/classes/Color.html +++ b/dist/docs/classes/Color.html @@ -1,6 +1,7 @@ + Color diff --git a/dist/docs/classes/CompoundPath.html b/dist/docs/classes/CompoundPath.html index 7f9a8154..c946fad8 100644 --- a/dist/docs/classes/CompoundPath.html +++ b/dist/docs/classes/CompoundPath.html @@ -1,6 +1,7 @@ + CompoundPath @@ -2554,6 +2555,83 @@ raster.scale(5); + + + + + +
+ +
diff --git a/dist/docs/classes/Curve.html b/dist/docs/classes/Curve.html index 60a92a9b..97d51079 100644 --- a/dist/docs/classes/Curve.html +++ b/dist/docs/classes/Curve.html @@ -1,6 +1,7 @@ + Curve diff --git a/dist/docs/classes/CurveLocation.html b/dist/docs/classes/CurveLocation.html index cdea7328..86dbcaae 100644 --- a/dist/docs/classes/CurveLocation.html +++ b/dist/docs/classes/CurveLocation.html @@ -1,6 +1,7 @@ + CurveLocation diff --git a/dist/docs/classes/Event.html b/dist/docs/classes/Event.html index 519e7240..d0848eb9 100644 --- a/dist/docs/classes/Event.html +++ b/dist/docs/classes/Event.html @@ -1,6 +1,7 @@ + Event diff --git a/dist/docs/classes/Gradient.html b/dist/docs/classes/Gradient.html index 39f40ac1..f95530ea 100644 --- a/dist/docs/classes/Gradient.html +++ b/dist/docs/classes/Gradient.html @@ -1,6 +1,7 @@ + Gradient diff --git a/dist/docs/classes/GradientColor.html b/dist/docs/classes/GradientColor.html index f37eccdb..76f32a67 100644 --- a/dist/docs/classes/GradientColor.html +++ b/dist/docs/classes/GradientColor.html @@ -1,6 +1,7 @@ + GradientColor diff --git a/dist/docs/classes/GradientStop.html b/dist/docs/classes/GradientStop.html index 2d878d1d..97b43e0f 100644 --- a/dist/docs/classes/GradientStop.html +++ b/dist/docs/classes/GradientStop.html @@ -1,6 +1,7 @@ + GradientStop diff --git a/dist/docs/classes/GrayColor.html b/dist/docs/classes/GrayColor.html index 684c063c..0f3239e4 100644 --- a/dist/docs/classes/GrayColor.html +++ b/dist/docs/classes/GrayColor.html @@ -1,6 +1,7 @@ + GrayColor diff --git a/dist/docs/classes/Group.html b/dist/docs/classes/Group.html index 0fb07293..09964e3b 100644 --- a/dist/docs/classes/Group.html +++ b/dist/docs/classes/Group.html @@ -1,6 +1,7 @@ + Group @@ -1759,6 +1760,83 @@ raster.scale(5); + + + + + +
+ +
diff --git a/dist/docs/classes/HSBColor.html b/dist/docs/classes/HSBColor.html index 24842775..906ad8f2 100644 --- a/dist/docs/classes/HSBColor.html +++ b/dist/docs/classes/HSBColor.html @@ -1,6 +1,7 @@ + HSBColor diff --git a/dist/docs/classes/HSLColor.html b/dist/docs/classes/HSLColor.html index 30d50b4c..e36bfce4 100644 --- a/dist/docs/classes/HSLColor.html +++ b/dist/docs/classes/HSLColor.html @@ -1,6 +1,7 @@ + HSLColor @@ -92,8 +93,8 @@ between 0 and 1 var circle = new Path.Circle(new Point(80, 50), 30); // Create an HSLColor with a hue of 90 degrees, a saturation -// 100% and a lightness of 100%: -circle.fillColor = new HSLColor(90, 1, 1); +// 100% and a lightness of 50%: +circle.fillColor = new HSLColor(90, 1, 0.5);
diff --git a/dist/docs/classes/HitResult.html b/dist/docs/classes/HitResult.html index b3354ab4..a4d54a81 100644 --- a/dist/docs/classes/HitResult.html +++ b/dist/docs/classes/HitResult.html @@ -1,6 +1,7 @@ + HitResult @@ -18,7 +19,9 @@

Extends CurveLocation

- +

A HitResult object contains information about the results of a hit +test. It is returned by item.hitTest(point) and +project.hitTest(point).

@@ -26,15 +29,142 @@ +

Properties

+ + +
+ + + + +
+ + +
+ + +
+ + +
+ + +
+ + +
+ +
-

The segment of the curve which is closer to the described location.

+

If the HitResult has a type of 'stroke', 'segment', 'handle-in' or +'handle-out', this property refers to the Segment that was hit or that +is closest to the hitResult.location on the curve.

    Type: @@ -65,6 +197,48 @@
+ + +
+ + +
+ +
+ + + + + + + +

Properties inherited from CurveLocation

@@ -264,39 +438,6 @@ the curve).

-
- - -
- -
+
+
+
+ + +
+ +
diff --git a/dist/docs/classes/Key.html b/dist/docs/classes/Key.html index b097b523..4f5f511f 100644 --- a/dist/docs/classes/Key.html +++ b/dist/docs/classes/Key.html @@ -1,6 +1,7 @@ + Key diff --git a/dist/docs/classes/KeyEvent.html b/dist/docs/classes/KeyEvent.html index 94501c50..3a19161f 100644 --- a/dist/docs/classes/KeyEvent.html +++ b/dist/docs/classes/KeyEvent.html @@ -1,6 +1,7 @@ + KeyEvent diff --git a/dist/docs/classes/Layer.html b/dist/docs/classes/Layer.html index baff005a..c9bfc7b2 100644 --- a/dist/docs/classes/Layer.html +++ b/dist/docs/classes/Layer.html @@ -1,6 +1,7 @@ + Layer @@ -1718,6 +1719,83 @@ raster.scale(5); + + + + + +
+ +
diff --git a/dist/docs/classes/Line.html b/dist/docs/classes/Line.html index ae89985f..fc195f83 100644 --- a/dist/docs/classes/Line.html +++ b/dist/docs/classes/Line.html @@ -1,6 +1,7 @@ + Line diff --git a/dist/docs/classes/Matrix.html b/dist/docs/classes/Matrix.html index 7d66bc14..586e9433 100644 --- a/dist/docs/classes/Matrix.html +++ b/dist/docs/classes/Matrix.html @@ -1,6 +1,7 @@ + Matrix @@ -25,9 +26,9 @@ transforms source coordinates (x,y) into destination coordinates (x',y') by considering them to be a column vector and multiplying the coordinate vector by the matrix according to the following process:

-     [ x']   [  m00  m01  m02  ] [ x ]   [ m00x + m01y + m02 ]
-     [ y'] = [  m10  m11  m12  ] [ y ] = [ m10x + m11y + m12 ]
-     [ 1 ]   [   0    0    1   ] [ 1 ]   [         1         ]
+     [ x ]   [ a  b  tx ] [ x ]   [ a * x + b * y + tx ]
+     [ y ] = [ c  d  ty ] [ y ] = [ c * x + d * y + ty ]
+     [ 1 ]   [ 0  0  1  ] [ 1 ]   [         1          ]
 

This class is optimized for speed and minimizes calculations based on its knowledge of the underlying matrix (as opposed to say simply performing @@ -39,18 +40,18 @@ matrix multiplication).

Constructors

-
- +
+
+ + +
+ +
diff --git a/dist/docs/classes/PathStyle.html b/dist/docs/classes/PathStyle.html index 6b8c6e6f..5e29a64b 100644 --- a/dist/docs/classes/PathStyle.html +++ b/dist/docs/classes/PathStyle.html @@ -1,6 +1,7 @@ + PathStyle diff --git a/dist/docs/classes/PlacedItem.html b/dist/docs/classes/PlacedItem.html index f4d533a9..18e366cf 100644 --- a/dist/docs/classes/PlacedItem.html +++ b/dist/docs/classes/PlacedItem.html @@ -1,6 +1,7 @@ + PlacedItem @@ -1665,6 +1666,83 @@ raster.scale(5); + + + + + +
+ +
diff --git a/dist/docs/classes/PlacedSymbol.html b/dist/docs/classes/PlacedSymbol.html index cc462023..de697a13 100644 --- a/dist/docs/classes/PlacedSymbol.html +++ b/dist/docs/classes/PlacedSymbol.html @@ -1,6 +1,7 @@ + PlacedSymbol @@ -1751,6 +1752,83 @@ raster.scale(5); + + + + + +
+ +
diff --git a/dist/docs/classes/Point.html b/dist/docs/classes/Point.html index d34f442c..16e29e6a 100644 --- a/dist/docs/classes/Point.html +++ b/dist/docs/classes/Point.html @@ -1,6 +1,7 @@ + Point @@ -1146,7 +1147,7 @@ is not modified!

@@ -1160,18 +1161,18 @@ is not modified!

Distance & Length

-
- +
+ + +
+ +
diff --git a/dist/docs/classes/RGBColor.html b/dist/docs/classes/RGBColor.html index a5250e80..8af19b1a 100644 --- a/dist/docs/classes/RGBColor.html +++ b/dist/docs/classes/RGBColor.html @@ -1,6 +1,7 @@ + RGBColor diff --git a/dist/docs/classes/Raster.html b/dist/docs/classes/Raster.html index c7bf411d..bbe7eae3 100644 --- a/dist/docs/classes/Raster.html +++ b/dist/docs/classes/Raster.html @@ -1,6 +1,7 @@ + Raster @@ -2335,6 +2336,83 @@ raster.scale(5); + + + + + +
+ +
diff --git a/dist/docs/classes/Rectangle.html b/dist/docs/classes/Rectangle.html index c0ea7c8d..34eb81b2 100644 --- a/dist/docs/classes/Rectangle.html +++ b/dist/docs/classes/Rectangle.html @@ -1,6 +1,7 @@ + Rectangle diff --git a/dist/docs/classes/Segment.html b/dist/docs/classes/Segment.html index 4885b11f..6075d937 100644 --- a/dist/docs/classes/Segment.html +++ b/dist/docs/classes/Segment.html @@ -1,6 +1,7 @@ + Segment diff --git a/dist/docs/classes/Size.html b/dist/docs/classes/Size.html index 708a3a1e..30c692d1 100644 --- a/dist/docs/classes/Size.html +++ b/dist/docs/classes/Size.html @@ -1,6 +1,7 @@ + Size diff --git a/dist/docs/classes/Symbol.html b/dist/docs/classes/Symbol.html index ca995e70..1da24cec 100644 --- a/dist/docs/classes/Symbol.html +++ b/dist/docs/classes/Symbol.html @@ -1,6 +1,7 @@ + Symbol diff --git a/dist/docs/classes/TextItem.html b/dist/docs/classes/TextItem.html index d73a932b..afc089b0 100644 --- a/dist/docs/classes/TextItem.html +++ b/dist/docs/classes/TextItem.html @@ -1,6 +1,7 @@ + TextItem @@ -1772,6 +1773,83 @@ raster.scale(5); + + + + + +
+ +
diff --git a/dist/docs/classes/Tool.html b/dist/docs/classes/Tool.html index dac90d05..4a07cfce 100644 --- a/dist/docs/classes/Tool.html +++ b/dist/docs/classes/Tool.html @@ -1,6 +1,7 @@ + Tool @@ -49,54 +50,6 @@ function onMouseDrag(event) { - -

Constructors

- - -
- - -
- -
- diff --git a/dist/docs/classes/ToolEvent.html b/dist/docs/classes/ToolEvent.html index fef8e0f5..cc13b2dd 100644 --- a/dist/docs/classes/ToolEvent.html +++ b/dist/docs/classes/ToolEvent.html @@ -1,6 +1,7 @@ + ToolEvent @@ -273,6 +274,41 @@ difference to the mousedown position is returned.

+ + + + + + +
+ + diff --git a/dist/docs/classes/View.html b/dist/docs/classes/View.html index 1ba0d1d6..ad23c19a 100644 --- a/dist/docs/classes/View.html +++ b/dist/docs/classes/View.html @@ -1,6 +1,7 @@ + View diff --git a/dist/docs/classes/global.html b/dist/docs/classes/global.html index c4f63c7f..76ed322d 100644 --- a/dist/docs/classes/global.html +++ b/dist/docs/classes/global.html @@ -1,6 +1,7 @@ + _global_ @@ -27,28 +28,28 @@

Properties

-
-