Class Index | File Index

Classes


Class SvgCounterCalculator

SvgCounterCalculator
Defined in: svgCounterCalculator.js.

Class Summary
Constructor Attributes Constructor Name and Description
 
SvgCounterCalculator
Method Summary
Method Attributes Method Name and Description
 
getCounterTemplate(fillColor, strokeColor, strokeWidth, strokeOpacity)
method to get counter template
 
getSVGdata(unitData, scale)
method to getSVGdata text
 
getSVGtext(unitData, scale)
method to getSVG text
 
method to get unit type template
Class Detail
SvgCounterCalculator()
SvgCounterCalculator
Method Detail
{string} getCounterTemplate(fillColor, strokeColor, strokeWidth, strokeOpacity)
method to get counter template
Parameters:
fillColor
{string} fillColor
strokeColor
{string} strokeColor
strokeWidth
{integer} strokeWidth
strokeOpacity
{integer} strokeOpacity
Returns:
{string} svgText

{string} getSVGdata(unitData, scale)
method to getSVGdata text
Parameters:
unitData
{object} unit Data
scale
{integer} scale
Returns:
{string} svgText

{string} getSVGtext(unitData, scale)
method to getSVG text
Parameters:
unitData
{object} unit Data
scale
{integer} scale
Returns:
{string} svgText

{string} getUnitTypeTemplate(unitType)
method to get unit type template
Parameters:
unitType
{string} unitType
Returns:
{string} template

Documentation generated by JsDoc Toolkit 2.4.0 on Mon Oct 22 2018 10:45:30 GMT-0700 (PDT)