mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-19 06:00:56 -05:00
Many documentation clean-ups.
This commit is contained in:
parent
b52d343527
commit
71a7cc37e6
6 changed files with 13 additions and 13 deletions
|
@ -1190,7 +1190,7 @@ var Item = Base.extend(Emitter, /** @lends Item# */{
|
|||
|
||||
/**
|
||||
* @bean
|
||||
* @deprecated use {@link #getApplyMatrix()} instead.
|
||||
* @deprecated use {@link #applyMatrix} instead.
|
||||
*/
|
||||
getTransformContent: '#getApplyMatrix',
|
||||
setTransformContent: '#setApplyMatrix',
|
||||
|
|
|
@ -207,7 +207,7 @@ var Raster = Item.extend(/** @lends Raster# */{
|
|||
/**
|
||||
* @private
|
||||
* @bean
|
||||
* @deprecated use {@link #getResolution()} instead.
|
||||
* @deprecated use {@link #resolution} instead.
|
||||
*/
|
||||
getPpi: '#getResolution',
|
||||
|
||||
|
|
|
@ -64,7 +64,7 @@ var Shape = Item.extend(/** @lends Shape# */{
|
|||
/**
|
||||
* @private
|
||||
* @bean
|
||||
* @deprecated use {@link #getType()} instead.
|
||||
* @deprecated use {@link #type} instead.
|
||||
*/
|
||||
getShape: '#getType',
|
||||
setShape: '#setType',
|
||||
|
|
|
@ -1966,7 +1966,7 @@ var Path = PathItem.extend(/** @lends Path# */{
|
|||
* Returns the nearest location on the path to the specified point.
|
||||
*
|
||||
* @function
|
||||
* @param point {Point} the point for which we search the nearest location
|
||||
* @param {Point} point the point for which we search the nearest location
|
||||
* @return {CurveLocation} the location on the path that's the closest to
|
||||
* the specified point
|
||||
*/
|
||||
|
@ -1989,7 +1989,7 @@ var Path = PathItem.extend(/** @lends Path# */{
|
|||
* Returns the nearest point on the path to the specified point.
|
||||
*
|
||||
* @function
|
||||
* @param point {Point} the point for which we search the nearest point
|
||||
* @param {Point} point the point for which we search the nearest point
|
||||
* @return {Point} the point on the path that's the closest to the specified
|
||||
* point
|
||||
*
|
||||
|
|
|
@ -309,7 +309,7 @@ var Style = Base.extend(new function() {
|
|||
/**
|
||||
* @private
|
||||
* @bean
|
||||
* @deprecated use {@link #getFontFamily()} instead.
|
||||
* @deprecated use {@link #fontFamily} instead.
|
||||
*/
|
||||
getFont: '#getFontFamily',
|
||||
setFont: '#setFontFamily',
|
||||
|
@ -582,7 +582,7 @@ var Style = Base.extend(new function() {
|
|||
*/
|
||||
|
||||
/**
|
||||
* The font size of text content, as {@Number} in pixels, or as {@String}
|
||||
* The font size of text content, as a number in pixels, or as a string
|
||||
* with optional units {@code 'px'}, {@code 'pt'} and {@code 'em'}.
|
||||
*
|
||||
* @name Style#fontSize
|
||||
|
@ -592,12 +592,12 @@ var Style = Base.extend(new function() {
|
|||
|
||||
/**
|
||||
*
|
||||
* The font-family to be used in text content, as one {@String}.
|
||||
* @deprecated use {@link #fontFamily} instead.
|
||||
* The font-family to be used in text content, as one string.
|
||||
*
|
||||
* @name Style#font
|
||||
* @default 'sans-serif'
|
||||
* @type String
|
||||
* @deprecated use {@link #fontFamily} instead.
|
||||
*/
|
||||
|
||||
/**
|
||||
|
|
|
@ -120,7 +120,7 @@ var TextItem = Item.extend(/** @lends TextItem# */{
|
|||
*/
|
||||
|
||||
/**
|
||||
* The font size of text content, as {@Number} in pixels, or as {@String}
|
||||
* The font size of text content, as a number in pixels, or as a string
|
||||
* with optional units {@code 'px'}, {@code 'pt'} and {@code 'em'}.
|
||||
*
|
||||
* @name TextItem#fontSize
|
||||
|
@ -130,7 +130,7 @@ var TextItem = Item.extend(/** @lends TextItem# */{
|
|||
|
||||
/**
|
||||
*
|
||||
* The font-family to be used in text content, as one {@String}.
|
||||
* The font-family to be used in text content, as one string.
|
||||
* @deprecated use {@link #fontFamily} instead.
|
||||
*
|
||||
* @name TextItem#font
|
||||
|
@ -159,7 +159,7 @@ var TextItem = Item.extend(/** @lends TextItem# */{
|
|||
/**
|
||||
* @private
|
||||
* @bean
|
||||
* @deprecated use {@link #getStyle()} instead.
|
||||
* @deprecated use {@link #style} instead.
|
||||
*/
|
||||
getCharacterStyle: '#getStyle',
|
||||
setCharacterStyle: '#setStyle',
|
||||
|
@ -167,7 +167,7 @@ var TextItem = Item.extend(/** @lends TextItem# */{
|
|||
/**
|
||||
* @private
|
||||
* @bean
|
||||
* @deprecated use {@link #getStyle()} instead.
|
||||
* @deprecated use {@link #style} instead.
|
||||
*/
|
||||
getParagraphStyle: '#getStyle',
|
||||
setParagraphStyle: '#setStyle'
|
||||
|
|
Loading…
Reference in a new issue