To customize drawsvg engine behaviour change parameters definition in parameters.json file from edrawsvg/config/engine directory.
Parameter | Default value | Description |
---|---|---|
|
|
Define the default URL used by the image drawing task. The value must begin with / to define an URL relative to the domain. |
|
|
define the default fill color of drawn shapes. |
|
|
define the default stroke width of SHAPE style category. |
|
|
define the default stroke width of AREA style category. |
|
|
define the default stroke width of CONTOUR style category. |
Sample
{ "imageDefaultURL":"samples/png/joconde.png", "defaultFillColor":"rosybrown" }
The file is in JSON format.