SVGAttribute
Allows to directly set SVG attribute to a 2D graphics object
SVGAttribute[object_, "name"->"value"]
Please see the SVG docs for all possible attributes. In principle it should work with most 2D primitives, since all of them are SVG elements.
Example
If we want a dashed line
Graphics[
SVGAttribute[
Line[{{-1,-1}, {1,1}}]
, "stroke-dasharray"->"3"]
]