mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2024-12-29 09:22:22 -05:00
Fix beans documentation links
Several documentation "see also" links concerning beans were broken because they were referenced as `ClassName#getProperty()` instead of `ClassName#property`.
This commit is contained in:
parent
0b52720bdf
commit
8b33eccd52
5 changed files with 8 additions and 8 deletions
|
@ -768,7 +768,7 @@ var Point = Base.extend(/** @lends Point# */{
|
|||
*
|
||||
* @param {Number} quadrant the quadrant to check against
|
||||
* @return {Boolean} {@true if either x or y are not a number}
|
||||
* @see #getQuadrant()
|
||||
* @see #quadrant
|
||||
*/
|
||||
isInQuadrant: function(q) {
|
||||
// Map quadrant to x & y coordinate pairs and multiply with coordinates,
|
||||
|
|
|
@ -161,7 +161,7 @@ var CompoundPath = PathItem.extend(/** @lends CompoundPath# */{
|
|||
*
|
||||
* @bean
|
||||
* @type Boolean
|
||||
* @see Path#isClosed()
|
||||
* @see Path#closed
|
||||
*/
|
||||
isClosed: function() {
|
||||
var children = this._children;
|
||||
|
|
|
@ -102,8 +102,8 @@ var PathItem = Item.extend(/** @lends PathItem# */{
|
|||
*
|
||||
* @bean
|
||||
* @type Boolean
|
||||
* @see Path#getArea()
|
||||
* @see CompoundPath#getArea()
|
||||
* @see Path#area
|
||||
* @see CompoundPath#area
|
||||
*/
|
||||
isClockwise: function() {
|
||||
return this.getArea() >= 0;
|
||||
|
|
|
@ -234,8 +234,8 @@ var Segment = Base.extend(/** @lends Segment# */{
|
|||
* Checks if the segment has any curve handles set.
|
||||
*
|
||||
* @return {Boolean} {@true if the segment has handles set}
|
||||
* @see Segment#getHandleIn()
|
||||
* @see Segment#getHandleOut()
|
||||
* @see Segment#handleIn
|
||||
* @see Segment#handleOut
|
||||
* @see Curve#hasHandles()
|
||||
* @see Path#hasHandles()
|
||||
*/
|
||||
|
|
|
@ -522,7 +522,7 @@ var View = Base.extend(Emitter, /** @lends View# */{
|
|||
*
|
||||
* @bean
|
||||
* @type Number
|
||||
* @see #getScaling()
|
||||
* @see #scaling
|
||||
*/
|
||||
getZoom: function() {
|
||||
var scaling = this._decompose().scaling;
|
||||
|
@ -559,7 +559,7 @@ var View = Base.extend(Emitter, /** @lends View# */{
|
|||
*
|
||||
* @bean
|
||||
* @type Point
|
||||
* @see #getZoom()
|
||||
* @see #zoom
|
||||
*/
|
||||
getScaling: function() {
|
||||
var scaling = this._decompose().scaling;
|
||||
|
|
Loading…
Reference in a new issue