Global

Methods

(protected) circle(point, stroke, fill) → {Circle}

Description:
  • Returns a Circle object
Source:
Parameters:
Name Type Description
point Point X & Y Coordinates
stroke Stroke Stroke properties
fill Fill Fill properties
Returns:
Circle object
Type
Circle

(protected) ellipse(point, stroke, fill) → {Ellipse}

Description:
  • Returns a Ellipse object
Source:
Parameters:
Name Type Description
point Point X & Y Coordinates
stroke Stroke Stroke properties
fill Fill Fill properties
Returns:
Ellipse object
Type
Ellipse

initCanvasLab(canvasopt)

Description:
  • Initiates canvasLab
Source:
Parameters:
Name Type Attributes Description
canvas string <optional>
Canvas identifier

(protected) line(startPoint, endPoint) → {Line}

Description:
  • Returns a Line object
Source:
Parameters:
Name Type Description
startPoint Point Starting point of line
endPoint Point Ending point of line
Returns:
Line object
Type
Line

(protected) rectangle(point, stroke, fill) → {Rectangle}

Description:
  • Returns a Rectangle object
Source:
Parameters:
Name Type Description
point Point X & Y Coordinates
stroke Stroke Stroke properties
fill Fill Fill properties
Returns:
Rectangle object
Type
Rectangle

(protected) roundedRectangle(point, stroke, fill) → {RoundedRectangle}

Description:
  • Returns a RoundedRectangle object
Source:
Parameters:
Name Type Description
point Point X & Y Coordinates
stroke Stroke Stroke properties
fill Fill Fill properties
Returns:
Rounded rectangle object
Type
RoundedRectangle

(protected) text(point, stroke, fill) → {Text}

Description:
  • Returns a Text object
Source:
Parameters:
Name Type Description
point Point X & Y Coordinates
stroke Stroke Stroke properties
fill Fill Fill properties
Returns:
Text object
Type
Text

Type Definitions

Template

Description:
  • Canvas Lab Template, for the creation of objects through a collection
Source:
Properties:
Name Type Description
point Point X & Y coordinates
master clObject Master Canvas Lab object
init function Initialization of Template
Canvas Lab Template, for the creation of objects through a collection
Type:
  • Object

Transition

Description:
  • Transition, for animation transition instances
Source:
Transition, for animation transition instances
Type:
  • Object

clChange

Description:
  • Change, for animation changes through a transition
Source:
Change, for animation changes through a transition
Type:
  • Object

clCollection

Description:
  • Canvas Lab collection
Source:
Canvas Lab collection
Type:
  • Object

clObject

Description:
  • Canvas Lab object
Source:
Canvas Lab object
Type:
  • Object