Class: SvgPathAndAttributes

SvgPathAndAttributes

a path + attributes two tuple object

Constructor

new SvgPathAndAttributes()

Author:
  • mark.veltzer@gmail.com (Mark Veltzer)
Source:

Methods

initialize(path, attr) → {SvgPathAndAttributes}

creates a new instance
This:
Parameters:
Name Type Description
path string string representing SVG path.
attr object object with attributes for said path.
Author:
  • mark.veltzer@gmail.com (Mark Veltzer)
Source:
Returns:
the new instance.
Type
SvgPathAndAttributes

toString() → {string}

toString method that allows you to get a nice printout for this type
This:
Author:
  • mark.veltzer@gmail.com (Mark Veltzer)
Source:
Returns:
string representation of this instance.
Type
string