mirror of
https://github.com/konvajs/konva.git
synced 2025-09-18 18:00: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:
|
||||
* M, m, L, l, H, h, V, v, Q, q, T, t, C, c, S, s, A, a, Z, z
|
||||
* @name setData
|
||||
* @methodOf Kinetic.Path.prototype
|
||||
* @methodOf Kinetic.Plugins.Path.prototype
|
||||
* @param {String} SVG path command string
|
||||
*/
|
||||
|
||||
/**
|
||||
* get SVG path data string
|
||||
* @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
|
||||
* @name setRadius
|
||||
* @methodOf Kinetic.RegularPolygon.prototype
|
||||
* @methodOf Kinetic.Plugins.RegularPolygon.prototype
|
||||
* @param {Number} radius
|
||||
*/
|
||||
|
||||
/**
|
||||
* set number of sides
|
||||
* @name setSides
|
||||
* @methodOf Kinetic.RegularPolygon.prototype
|
||||
* @methodOf Kinetic.Plugins.RegularPolygon.prototype
|
||||
* @param {int} sides
|
||||
*/
|
||||
/**
|
||||
* get radius
|
||||
* @name getRadius
|
||||
* @methodOf Kinetic.RegularPolygon.prototype
|
||||
* @methodOf Kinetic.Plugins.RegularPolygon.prototype
|
||||
*/
|
||||
|
||||
/**
|
||||
* get number of sides
|
||||
* @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
|
||||
* @name setNumPoints
|
||||
* @methodOf Kinetic.Star.prototype
|
||||
* @methodOf KineticPlugins..Star.prototype
|
||||
* @param {Integer} points
|
||||
*/
|
||||
|
||||
/**
|
||||
* set outer radius
|
||||
* @name setOuterRadius
|
||||
* @methodOf Kinetic.Star.prototype
|
||||
* @methodOf KineticPlugins..Star.prototype
|
||||
* @param {Number} radius
|
||||
*/
|
||||
|
||||
/**
|
||||
* set inner radius
|
||||
* @name setInnerRadius
|
||||
* @methodOf Kinetic.Star.prototype
|
||||
* @methodOf KineticPlugins..Star.prototype
|
||||
* @param {Number} radius
|
||||
*/
|
||||
|
||||
/**
|
||||
* get number of points
|
||||
* @name getNumPoints
|
||||
* @methodOf Kinetic.Star.prototype
|
||||
* @methodOf KineticPlugins..Star.prototype
|
||||
*/
|
||||
|
||||
/**
|
||||
* get outer radius
|
||||
* @name getOuterRadius
|
||||
* @methodOf Kinetic.Star.prototype
|
||||
* @methodOf KineticPlugins..Star.prototype
|
||||
*/
|
||||
|
||||
/**
|
||||
* get inner radius
|
||||
* @name getInnerRadius
|
||||
* @methodOf Kinetic.Star.prototype
|
||||
* @methodOf KineticPlugins..Star.prototype
|
||||
*/
|
Reference in New Issue
Block a user