mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-01 10:48:38 -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
|
* @param {Number} quadrant the quadrant to check against
|
||||||
* @return {Boolean} {@true if either x or y are not a number}
|
* @return {Boolean} {@true if either x or y are not a number}
|
||||||
* @see #getQuadrant()
|
* @see #quadrant
|
||||||
*/
|
*/
|
||||||
isInQuadrant: function(q) {
|
isInQuadrant: function(q) {
|
||||||
// Map quadrant to x & y coordinate pairs and multiply with coordinates,
|
// Map quadrant to x & y coordinate pairs and multiply with coordinates,
|
||||||
|
|
|
@ -161,7 +161,7 @@ var CompoundPath = PathItem.extend(/** @lends CompoundPath# */{
|
||||||
*
|
*
|
||||||
* @bean
|
* @bean
|
||||||
* @type Boolean
|
* @type Boolean
|
||||||
* @see Path#isClosed()
|
* @see Path#closed
|
||||||
*/
|
*/
|
||||||
isClosed: function() {
|
isClosed: function() {
|
||||||
var children = this._children;
|
var children = this._children;
|
||||||
|
|
|
@ -102,8 +102,8 @@ var PathItem = Item.extend(/** @lends PathItem# */{
|
||||||
*
|
*
|
||||||
* @bean
|
* @bean
|
||||||
* @type Boolean
|
* @type Boolean
|
||||||
* @see Path#getArea()
|
* @see Path#area
|
||||||
* @see CompoundPath#getArea()
|
* @see CompoundPath#area
|
||||||
*/
|
*/
|
||||||
isClockwise: function() {
|
isClockwise: function() {
|
||||||
return this.getArea() >= 0;
|
return this.getArea() >= 0;
|
||||||
|
|
|
@ -234,8 +234,8 @@ var Segment = Base.extend(/** @lends Segment# */{
|
||||||
* Checks if the segment has any curve handles set.
|
* Checks if the segment has any curve handles set.
|
||||||
*
|
*
|
||||||
* @return {Boolean} {@true if the segment has handles set}
|
* @return {Boolean} {@true if the segment has handles set}
|
||||||
* @see Segment#getHandleIn()
|
* @see Segment#handleIn
|
||||||
* @see Segment#getHandleOut()
|
* @see Segment#handleOut
|
||||||
* @see Curve#hasHandles()
|
* @see Curve#hasHandles()
|
||||||
* @see Path#hasHandles()
|
* @see Path#hasHandles()
|
||||||
*/
|
*/
|
||||||
|
|
|
@ -522,7 +522,7 @@ var View = Base.extend(Emitter, /** @lends View# */{
|
||||||
*
|
*
|
||||||
* @bean
|
* @bean
|
||||||
* @type Number
|
* @type Number
|
||||||
* @see #getScaling()
|
* @see #scaling
|
||||||
*/
|
*/
|
||||||
getZoom: function() {
|
getZoom: function() {
|
||||||
var scaling = this._decompose().scaling;
|
var scaling = this._decompose().scaling;
|
||||||
|
@ -559,7 +559,7 @@ var View = Base.extend(Emitter, /** @lends View# */{
|
||||||
*
|
*
|
||||||
* @bean
|
* @bean
|
||||||
* @type Point
|
* @type Point
|
||||||
* @see #getZoom()
|
* @see #zoom
|
||||||
*/
|
*/
|
||||||
getScaling: function() {
|
getScaling: function() {
|
||||||
var scaling = this._decompose().scaling;
|
var scaling = this._decompose().scaling;
|
||||||
|
|
Loading…
Reference in a new issue