Fix documentation of bean properties that are not read-only.

@bean can only be used when the property is read-only or both getters and setters are present in the scope.
This commit is contained in:
Jürg Lehni 2014-08-26 10:01:30 +02:00
parent 213a13884b
commit 7d69ef1864
3 changed files with 11 additions and 22 deletions

View file

@ -1032,34 +1032,30 @@ var Item = Base.extend(Callback, /** @lends Item# */{
/** /**
* The bounding rectangle of the item excluding stroke width. * The bounding rectangle of the item excluding stroke width.
* *
* @name Item#getBounds * @name Item#bounds
* @type Rectangle * @type Rectangle
* @bean
*/ */
/** /**
* The bounding rectangle of the item including stroke width. * The bounding rectangle of the item including stroke width.
* *
* @name Item#getStrokeBounds * @name Item#strokeBounds
* @type Rectangle * @type Rectangle
* @bean
*/ */
/** /**
* The bounding rectangle of the item including handles. * The bounding rectangle of the item including handles.
* *
* @name Item#getHandleBounds * @name Item#handleBounds
* @type Rectangle * @type Rectangle
* @bean
*/ */
/** /**
* The rough bounding rectangle of the item that is sure to include all of * The rough bounding rectangle of the item that is sure to include all of
* the drawing, including stroke width. * the drawing, including stroke width.
* *
* @name Item#getRoughBounds * @name Item#roughBounds
* @type Rectangle * @type Rectangle
* @bean
* @ignore * @ignore
*/ */
}), /** @lends Item# */{ }), /** @lends Item# */{

View file

@ -749,34 +749,30 @@ statics: {
/** /**
* The bounding rectangle of the curve excluding stroke width. * The bounding rectangle of the curve excluding stroke width.
* *
* @name Curve#getBounds * @name Curve#bounds
* @type Rectangle * @type Rectangle
* @bean
*/ */
/** /**
* The bounding rectangle of the curve including stroke width. * The bounding rectangle of the curve including stroke width.
* *
* @name Curve#getStrokeBounds * @name Curve#strokeBounds
* @type Rectangle * @type Rectangle
* @bean
*/ */
/** /**
* The bounding rectangle of the curve including handles. * The bounding rectangle of the curve including handles.
* *
* @name Curve#getHandleBounds * @name Curve#handleBounds
* @type Rectangle * @type Rectangle
* @bean
*/ */
/** /**
* The rough bounding rectangle of the curve that is shure to include all of * The rough bounding rectangle of the curve that is shure to include all of
* the drawing, including stroke width. * the drawing, including stroke width.
* *
* @name Curve#getRoughBounds * @name Curve#roughBounds
* @type Rectangle * @type Rectangle
* @bean
* @ignore * @ignore
*/ */
}), Base.each(['getPoint', 'getTangent', 'getNormal', 'getCurvature'], }), Base.each(['getPoint', 'getTangent', 'getNormal', 'getCurvature'],

View file

@ -210,25 +210,22 @@ var CurveLocation = Base.extend(/** @lends CurveLocation# */{
/** /**
* The tangential vector to the {@link #curve} at the given location. * The tangential vector to the {@link #curve} at the given location.
* *
* @name Item#getTangent * @name Item#tangent
* @type Point * @type Point
* @bean
*/ */
/** /**
* The normal vector to the {@link #curve} at the given location. * The normal vector to the {@link #curve} at the given location.
* *
* @name Item#getNormal * @name Item#normal
* @type Point * @type Point
* @bean
*/ */
/** /**
* The curvature of the {@link #curve} at the given location. * The curvature of the {@link #curve} at the given location.
* *
* @name Item#getCurvature * @name Item#curvature
* @type Number * @type Number
* @bean
*/ */
/** /**