mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-22 07:19:57 -05:00
Remove methods / fields that are hidden on Scriptographer through @jshide.
This commit is contained in:
parent
2c078d8b17
commit
ee8b66e19a
2 changed files with 0 additions and 30 deletions
|
@ -254,23 +254,6 @@ var Point = this.Point = Base.extend({
|
||||||
return center ? point.add(center) : point;
|
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.
|
* Checks whether the point is inside the boundaries of the rectangle.
|
||||||
*
|
*
|
||||||
|
|
|
@ -148,19 +148,6 @@ var Item = this.Item = Base.extend({
|
||||||
*/
|
*/
|
||||||
blendMode: 'normal',
|
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
|
* 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
|
* paths, compound paths, and text frame objects, and only if the item is
|
||||||
|
|
Loading…
Reference in a new issue