mirror of
https://github.com/konvajs/konva.git
synced 2025-11-18 17:21:36 +08:00
More JSDoc work
This commit is contained in:
@@ -86,12 +86,12 @@ Kinetic.Node.addGettersSetters(Kinetic.Plugins.Path, ['data']);
|
|||||||
* into a data array. Currently supported SVG data:
|
* into a data array. Currently supported SVG data:
|
||||||
* M, m, L, l, H, h, V, v, Q, q, T, t, C, c, S, s, A, a, Z, z
|
* M, m, L, l, H, h, V, v, Q, q, T, t, C, c, S, s, A, a, Z, z
|
||||||
* @name setData
|
* @name setData
|
||||||
* @methodOf Kinetic.Path.prototype
|
* @methodOf Kinetic.Plugins.Path.prototype
|
||||||
* @param {String} SVG path command string
|
* @param {String} SVG path command string
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* get SVG path data string
|
* get SVG path data string
|
||||||
* @name getData
|
* @name getData
|
||||||
* @methodOf Kinetic.Path.prototype
|
* @methodOf Kinetic.Plugins.Path.prototype
|
||||||
*/
|
*/
|
||||||
|
|||||||
@@ -39,24 +39,24 @@ Kinetic.Node.addGettersSetters(Kinetic.Plugins.RegularPolygon, ['radius', 'sides
|
|||||||
/**
|
/**
|
||||||
* set radius
|
* set radius
|
||||||
* @name setRadius
|
* @name setRadius
|
||||||
* @methodOf Kinetic.RegularPolygon.prototype
|
* @methodOf Kinetic.Plugins.RegularPolygon.prototype
|
||||||
* @param {Number} radius
|
* @param {Number} radius
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* set number of sides
|
* set number of sides
|
||||||
* @name setSides
|
* @name setSides
|
||||||
* @methodOf Kinetic.RegularPolygon.prototype
|
* @methodOf Kinetic.Plugins.RegularPolygon.prototype
|
||||||
* @param {int} sides
|
* @param {int} sides
|
||||||
*/
|
*/
|
||||||
/**
|
/**
|
||||||
* get radius
|
* get radius
|
||||||
* @name getRadius
|
* @name getRadius
|
||||||
* @methodOf Kinetic.RegularPolygon.prototype
|
* @methodOf Kinetic.Plugins.RegularPolygon.prototype
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* get number of sides
|
* get number of sides
|
||||||
* @name getSides
|
* @name getSides
|
||||||
* @methodOf Kinetic.RegularPolygon.prototype
|
* @methodOf Kinetic.Plugins.RegularPolygon.prototype
|
||||||
*/
|
*/
|
||||||
@@ -42,38 +42,38 @@ Kinetic.Node.addGettersSetters(Kinetic.Plugins.Star, ['numPoints', 'innerRadius'
|
|||||||
/**
|
/**
|
||||||
* set number of points
|
* set number of points
|
||||||
* @name setNumPoints
|
* @name setNumPoints
|
||||||
* @methodOf Kinetic.Star.prototype
|
* @methodOf KineticPlugins..Star.prototype
|
||||||
* @param {Integer} points
|
* @param {Integer} points
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* set outer radius
|
* set outer radius
|
||||||
* @name setOuterRadius
|
* @name setOuterRadius
|
||||||
* @methodOf Kinetic.Star.prototype
|
* @methodOf KineticPlugins..Star.prototype
|
||||||
* @param {Number} radius
|
* @param {Number} radius
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* set inner radius
|
* set inner radius
|
||||||
* @name setInnerRadius
|
* @name setInnerRadius
|
||||||
* @methodOf Kinetic.Star.prototype
|
* @methodOf KineticPlugins..Star.prototype
|
||||||
* @param {Number} radius
|
* @param {Number} radius
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* get number of points
|
* get number of points
|
||||||
* @name getNumPoints
|
* @name getNumPoints
|
||||||
* @methodOf Kinetic.Star.prototype
|
* @methodOf KineticPlugins..Star.prototype
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* get outer radius
|
* get outer radius
|
||||||
* @name getOuterRadius
|
* @name getOuterRadius
|
||||||
* @methodOf Kinetic.Star.prototype
|
* @methodOf KineticPlugins..Star.prototype
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* get inner radius
|
* get inner radius
|
||||||
* @name getInnerRadius
|
* @name getInnerRadius
|
||||||
* @methodOf Kinetic.Star.prototype
|
* @methodOf KineticPlugins..Star.prototype
|
||||||
*/
|
*/
|
||||||
Reference in New Issue
Block a user