Class: Path

Path

represents svg path

new Path(pathList, attrs)

Path (for easier modifying) [Raphael.path]
This:
Parameters:
Name Type Argument Description
pathList Array path list for raphael path
attrs Object <optional>
attributes passed to Raphael.path().attr(attrs)
Properties:
Name Type Description
pathList Array svg array (list) of the object
Source:
  • /var/www/html/software/raphaeltools/raphaeltools.src.js, line 800

Extends

  • Raphael.fn

Methods

iaddItem(i, j, val)

Increment one specific value in this.pathList (this.pathList[i][j] = val)
Parameters:
Name Type Description
i number first index
j number second index
val number value of incerementation
Source:
  • /var/www/html/software/raphaeltools/raphaeltools.src.js, line 821

setItem(i, j, val)

Sets one specific value in this.pathList (this.pathList[i][j] = val)
Parameters:
Name Type Description
i number first index
j number second index
val number | string value to be set
Source:
  • /var/www/html/software/raphaeltools/raphaeltools.src.js, line 811

setNewPath(newPathList)

Sets new svg line path to receiver
Parameters:
Name Type Description
newPathList Array newpath list
Source:
  • /var/www/html/software/raphaeltools/raphaeltools.src.js, line 829

update()

Updates receiver
Source:
  • /var/www/html/software/raphaeltools/raphaeltools.src.js, line 836