diff --git a/src/color/Color.js b/src/color/Color.js index 2e7eb629..1914d2bf 100644 --- a/src/color/Color.js +++ b/src/color/Color.js @@ -308,8 +308,8 @@ var Color = this.Color = Base.extend(new function() { }, /** - * A value between 0 and 1 that specifies the color's alpha value. - * All colors of the different subclasses support alpha values. + * A value between {@code 0} and {@code 1} that specifies the color's alpha + * value. All colors of the different subclasses support alpha values. * * @type Number * @bean diff --git a/src/color/GradientStop.js b/src/color/GradientStop.js index cc6865d2..8d4df990 100644 --- a/src/color/GradientStop.js +++ b/src/color/GradientStop.js @@ -54,7 +54,8 @@ var GradientStop = this.GradientStop = Base.extend({ }, /** - * The ramp-point of the gradient stop as a value between 0 and 1. + * The ramp-point of the gradient stop as a value between {@code 0} and + * {@code 1}. * * @type Number * @bean diff --git a/src/item/Group.js b/src/item/Group.js index 78068db2..6aa122cd 100644 --- a/src/item/Group.js +++ b/src/item/Group.js @@ -73,8 +73,8 @@ var Group = this.Group = Item.extend({ /** * Specifies whether the group item is to be clipped. - * When setting to true, the first child in the group is automatically - * defined as the clipping mask. + * When setting to {@code true}, the first child in the group is + * automatically defined as the clipping mask. * * @type Boolean * @bean diff --git a/src/item/Item.js b/src/item/Item.js index 96256d50..7c54e1a7 100644 --- a/src/item/Item.js +++ b/src/item/Item.js @@ -279,7 +279,7 @@ var Item = this.Item = Base.extend({ blendMode: 'normal', /** - * The opacity of the item as a value between 0 and 1. + * The opacity of the item as a value between {@code 0} and {@code 1}. * * @example * // Making an item 50% transparent: @@ -470,7 +470,7 @@ var Item = this.Item = Base.extend({ }, /** - * Removes all of the item's children (if any). + * Removes all of the item's {@link #children} (if any). * * @return {Boolean} {@true removing was successful} */ diff --git a/src/path/Curve.js b/src/path/Curve.js index 918cae88..33fdefec 100644 --- a/src/path/Curve.js +++ b/src/path/Curve.js @@ -417,7 +417,7 @@ var Curve = this.Curve = Base.extend({ * Returns the point on the curve at the specified position. * * @param {Number} parameter the position at which to find the point as - * a value between 0 and 1. + * a value between {@code 0} and {@code 1}. * @return {Point} */ getPoint: function(parameter) { @@ -428,7 +428,7 @@ var Curve = this.Curve = Base.extend({ * Returns the tangent point on the curve at the specified position. * * @param {Number} parameter the position at which to find the tangent - * point as a value between 0 and 1. + * point as a value between {@code 0} and {@code 1}. */ getTangent: function(parameter) { return evaluate(this, parameter, 1); @@ -438,7 +438,7 @@ var Curve = this.Curve = Base.extend({ * Returns the normal point on the curve at the specified position. * * @param {Number} parameter the position at which to find the normal - * point as a value between 0 and 1. + * point as a value between {@code 0} and {@code 1}. */ getNormal: function(parameter) { return evaluate(this, parameter, 2); diff --git a/src/path/Path.Constructors.js b/src/path/Path.Constructors.js index ab156975..4205d409 100644 --- a/src/path/Path.Constructors.js +++ b/src/path/Path.Constructors.js @@ -157,10 +157,10 @@ Path.inject({ statics: new function() { * Creates an oval shaped Path Item. * * @param {Rectangle} rect - * @param {Boolean} [circumscribed=false] if this is set to true the + * @param {Boolean} [circumscribed=false] when set to {@code true} the * oval shaped path will be created so the rectangle fits into - * it. If it's set to false the oval path will fit within the - * rectangle. + * it. When set to {@code false} the oval path will fit within + * the rectangle. * @return {Path} the newly created path * * @example