mirror of
https://github.com/scratchfoundation/paper.js.git
synced 2025-01-07 13:22:07 -05:00
Documentation: remove dashArray / dashOffset from Item & PathStyle, since they are not implemented yet.
This commit is contained in:
parent
418aee0792
commit
b3eca3895d
2 changed files with 46 additions and 46 deletions
|
@ -824,30 +824,30 @@ var Item = this.Item = Base.extend({
|
||||||
* @type String ('miter', 'round', 'bevel')
|
* @type String ('miter', 'round', 'bevel')
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
// /**
|
||||||
* The dash offset of the stroke.
|
// * The dash offset of the stroke.
|
||||||
*
|
// *
|
||||||
* @property
|
// * @property
|
||||||
* @name Item#dashOffset
|
// * @name Item#dashOffset
|
||||||
* @type Number
|
// * @type Number
|
||||||
*/
|
// */
|
||||||
|
|
||||||
/**
|
// /**
|
||||||
* Specifies an array containing the dash and gap lengths of the stroke.
|
// * Specifies an array containing the dash and gap lengths of the stroke.
|
||||||
*
|
// *
|
||||||
* @example
|
// * @example
|
||||||
* // Create a line from { x: 0, y: 50 } to { x: 50, y: 50 };
|
// * // Create a line from { x: 0, y: 50 } to { x: 50, y: 50 };
|
||||||
* var line = new Path.Line(new Point(0, 50), new Point(50, 50));
|
// * var line = new Path.Line(new Point(0, 50), new Point(50, 50));
|
||||||
*
|
// *
|
||||||
* line.strokeWidth = 3;
|
// * line.strokeWidth = 3;
|
||||||
*
|
// *
|
||||||
* // Set the dashed stroke to [10pt dash, 5pt gap, 8pt dash, 10pt gap]:
|
// * // Set the dashed stroke to [10pt dash, 5pt gap, 8pt dash, 10pt gap]:
|
||||||
* line.dashArray = [10, 5, 8, 10];
|
// * line.dashArray = [10, 5, 8, 10];
|
||||||
*
|
// *
|
||||||
* @property
|
// * @property
|
||||||
* @name Item#dashArray
|
// * @name Item#dashArray
|
||||||
* @type Array
|
// * @type Array
|
||||||
*/
|
// */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The miter limit of the stroke.
|
* The miter limit of the stroke.
|
||||||
|
|
|
@ -206,30 +206,30 @@ var PathStyle = this.PathStyle = Base.extend(new function() {
|
||||||
* @type String ('miter', 'round', 'bevel')
|
* @type String ('miter', 'round', 'bevel')
|
||||||
*/
|
*/
|
||||||
|
|
||||||
/**
|
// /**
|
||||||
* The dash offset of the stroke.
|
// * The dash offset of the stroke.
|
||||||
*
|
// *
|
||||||
* @property
|
// * @property
|
||||||
* @name PathStyle#dashOffset
|
// * @name PathStyle#dashOffset
|
||||||
* @type Number
|
// * @type Number
|
||||||
*/
|
// */
|
||||||
|
|
||||||
/**
|
// /**
|
||||||
* Specifies an array containing the dash and gap lengths of the stroke.
|
// * Specifies an array containing the dash and gap lengths of the stroke.
|
||||||
*
|
// *
|
||||||
* @example
|
// * @example
|
||||||
* // Create a line from { x: 0, y: 50 } to { x: 50, y: 50 };
|
// * // Create a line from { x: 0, y: 50 } to { x: 50, y: 50 };
|
||||||
* var line = new Path.Line(new Point(0, 50), new Point(50, 50));
|
// * var line = new Path.Line(new Point(0, 50), new Point(50, 50));
|
||||||
*
|
// *
|
||||||
* line.strokeWidth = 3;
|
// * line.strokeWidth = 3;
|
||||||
*
|
// *
|
||||||
* // Set the dashed stroke to [10pt dash, 5pt gap, 8pt dash, 10pt gap]:
|
// * // Set the dashed stroke to [10pt dash, 5pt gap, 8pt dash, 10pt gap]:
|
||||||
* line.dashArray = [10, 5, 8, 10];
|
// * line.dashArray = [10, 5, 8, 10];
|
||||||
*
|
// *
|
||||||
* @property
|
// * @property
|
||||||
* @name PathStyle#dashArray
|
// * @name PathStyle#dashArray
|
||||||
* @type Array
|
// * @type Array
|
||||||
*/
|
// */
|
||||||
|
|
||||||
/**
|
/**
|
||||||
* The miter limit of the stroke.
|
* The miter limit of the stroke.
|
||||||
|
|
Loading…
Reference in a new issue