Class Path
represents svg path
Defined in: raphaeltools.src.js.
Constructor Attributes | Constructor Name and Description |
---|---|
Path(raphael, pathList)
Path (for easier modifying)
|
Field Attributes | Field Name and Description |
---|---|
actual raphael object
|
|
svg array (list) of the object
|
|
raphael instance
|
Method Attributes | Method Name and Description |
---|---|
<static> |
Path.create(pathList)
Creates new Path object, for parameters meaning see Path
|
iaddItem(i, j, val)
Increment one specific value in this.pathList (this.pathList[i][j] = val)
|
|
setItem(i, j, val)
Sets one specific value in this.pathList (this.pathList[i][j] = val)
|
|
setNewPath(newPathList)
Sets new svg line path to receiver
|
Class Detail
Path(raphael, pathList)
Path (for easier modifying)
- Parameters:
- {Raphael} raphael
- raphael instance
- {Array} pathList
- path list for raphael path
Field Detail
{Raphael.el}
obj
actual raphael object
{Array}
pathList
svg array (list) of the object
{Raphael}
raphael
raphael instance
Method Detail
<static>
{Path}
Path.create(pathList)
Creates new Path object, for parameters meaning see Path
- Parameters:
- pathList
- Returns:
- {Path} new Path object
iaddItem(i, j, val)
Increment one specific value in this.pathList (this.pathList[i][j] = val)
- Parameters:
- {int} i
- first index
- {int} j
- second index
- {float} val
- value of incerementation
setItem(i, j, val)
Sets one specific value in this.pathList (this.pathList[i][j] = val)
- Parameters:
- {int} i
- first index
- {int} j
- second index
- {float|string} val
- value to be set
setNewPath(newPathList)
Sets new svg line path to receiver
- Parameters:
- {Array} newPathList
- newpath list