SvgRenderer Class

Renders icons as SVG paths.
public class SvgRenderer : Renderer


Public methodSvgRenderer
Creates an instance of SvgRenderer.


Public methodAddCircle
Adds a circle to the image.
Protected methodAddCircleNoTransform
Adds a circle without translating of its border.
Public methodAddPolygon
Adds a polygon to the image.
Protected methodAddPolygonNoTransform
Adds a polygon without translating or changing direction of the points.
Public methodAddRectangle
Adds a rectangle to the image.
Public methodAddRhombus
Adds a rhombus to the image.
Public methodAddTriangle
Adds a triangle to the image.
Public methodBeginShape
Begins a new shape. The shape should always be ended by disposing the returned IDisposable.
Public methodFlush
Flushes all pending draw operations to the target.
Public methodSave
Writes the SVG to the specified TextWriter.
Public methodSetBackground
Sets the background color of the image.
Public methodToSvg
Writes the SVG to the specified TextWriter.

See Also