Documentation: rename 'Sample Code:' to 'Example:'

This commit is contained in:
Jonathan Puckey 2011-05-30 19:55:40 +02:00
parent 17fcb923ff
commit 6892608ecd
5 changed files with 5 additions and 5 deletions

View file

@ -37,7 +37,7 @@ var Point = this.Point = Base.extend({
* of the Paper.js project. It is also used to represent two dimensional
* vector objects.
*
* Sample code:
* Example:
* <pre>
* // Create a point at x: 10, y: 5
* var point = new Point(10, 5);

View file

@ -35,7 +35,7 @@ var Size = this.Size = Base.extend({
* @class The Size object is used to describe the size of something, through
* its {@link #width} and {@link #height} properties.
*
* Sample code:
* Example:
* <pre>
* // Create a size that is 10pt wide and 5pt high
* var size = new Size(10, 5);

View file

@ -286,7 +286,7 @@ var Color = this.Color = Base.extend(new function() {
/**
* Returns the type of the color as a string.
*
* Sample code:
* Example:
* <code>
* var color = new RGBColor(1, 0, 0);
* console.log(color.type); // 'rgb'

View file

@ -54,7 +54,7 @@ var PathStyle = this.PathStyle = Base.extend(new function() {
* {@link Item#style}. This is a convenient way to define a style once and
* apply it to a series of items:
*
* Sample Code:
* Example:
* <pre>
* var circleStyle = {
* fillColor: new RGBColor(1, 0, 0),

View file

@ -34,7 +34,7 @@ var ParagraphStyle = this.ParagraphStyle = Base.extend({
* {@link #justification} property. Yet, we have lots in store for Paper.js
* when it comes to typography. Please stay tuned.
*
* Sample code:
* Example:
* <pre>
* var text = new PointText(new Point(0,0));
* text.fillColor = 'black';