From ee8b66e19a768ff947a5ea05ec7832f47c4dd90e Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?J=C3=BCrg=20Lehni?= Date: Sun, 15 May 2011 15:03:33 +0100 Subject: [PATCH] Remove methods / fields that are hidden on Scriptographer through @jshide. --- src/basic/Point.js | 17 ----------------- src/item/Item.js | 13 ------------- 2 files changed, 30 deletions(-) diff --git a/src/basic/Point.js b/src/basic/Point.js index 7fea4995..037ff883 100644 --- a/src/basic/Point.js +++ b/src/basic/Point.js @@ -254,23 +254,6 @@ var Point = this.Point = Base.extend({ return center ? point.add(center) : point; }, - /** - * Returns the interpolation point between the point and another point. - * The object itself is not modified! - * - * @param point - * @param t the position between the two points as a value between 0 and 1 - * @return the interpolation point - * - * @jshide - */ - interpolate: function(point, t) { - return Point.create( - this.x * (1 - t) + point.x * t, - this.y * (1 - t) + point.y * t - ); - }, - /** * Checks whether the point is inside the boundaries of the rectangle. * diff --git a/src/item/Item.js b/src/item/Item.js index 817e7cf9..406f5ccd 100644 --- a/src/item/Item.js +++ b/src/item/Item.js @@ -148,19 +148,6 @@ var Item = this.Item = Base.extend({ */ blendMode: 'normal', - /** - * Specifies whether the item is hidden. - * - * @return {@true if the item is hidden} - */ - isHidden: function() { - return !this.visible; - }, - - setHidden: function(hidden) { - this.visible = !hidden; - }, - /** * Specifies whether the item defines a clip mask. This can only be set on * paths, compound paths, and text frame objects, and only if the item is