drawsvg iconDRAWSVG user's guide
PreviousNextContentsPDFdrawsvg home

13.4. Customize Edrawsvg parameters

To customize drawsvg engine behaviour change parameters definition in parameters.json file from edrawsvg/config/engine directory.

ParameterDefault valueDescription

imageDefaultURL

samples/png/joconde.png

Define the default URL used by the image drawing task. The value must begin with / to define an URL relative to the domain.

defaultFillColor

rosybrown

define the default fill color of drawn shapes.

defaultShapeStrokeWidth

1px

define the default stroke width of SHAPE style category.

defaultAreaStrokeWidth

1px

define the default stroke width of AREA style category.

defaultContourStrokeWidth

1px

define the default stroke width of CONTOUR style category.

Sample

        
{
	"imageDefaultURL":"samples/png/joconde.png",
	"defaultFillColor":"rosybrown"
}
        
      

The file is in JSON format.