I have a function that draws circles on my svg element:
function drawCircle( pElem, pX, pY)
{
pElem.circle( 7 ).fill( '#00FF00' ).move( pX, pY );
} //drawCircle
But I want to add a black stroke to the drawn element like this:
function drawCircle( pElem, pX, pY)
{
pElem.circle( 7 ).fill( '#00FF00' ).move( pX, pY ).style.stroke = 'black'; //tried this but it didn't work
} //drawCircle
How can I do this? (Note: I'm using svg.js library)