Class SvgGraphics2D

SvgGraphics2D class

Provides drawing commmands to compose an Svg image.

public class SvgGraphics2D

Constructors

NameDescription
SvgGraphics2D(SvgImage)Initializes a new instance of the SvgGraphics2D class.
SvgGraphics2D(int, int, int)Initializes a new instance of the SvgGraphics2D class.

Methods

NameDescription
DrawArc(Pen, Rectangle, float, float)Draws an arc representing a portion of an ellipse specified by a Rectangle structure.
DrawCubicBezier(Pen, PointF, PointF, PointF, PointF)Draws the cubic bezier.
DrawImage(RasterImage, Point)Draws the specified image at the specified location.
DrawImage(RasterImage, Point, Size)Draws the specified image of the specified size at the specified location.
DrawImage(Rectangle, Rectangle, RasterImage)Draws the specified portion of the specified image at the specified location and with the specified size.
DrawLine(Pen, int, int, int, int)Draws the line.
DrawPath(Pen, GraphicsPath)Draws the path.
DrawRectangle(Pen, int, int, int, int)Draws the rectangle.
DrawString(Font, string, Point, Color)Draws the text string.
EndRecording()Gets the final Svg image which includes all drawing commands performed via SvgGraphics2D object.
FillArc(Pen, Brush, Rectangle, float, float)Fills an arc representing a portion of an ellipse specified by a Rectangle structure.
FillPath(Pen, Brush, GraphicsPath)Fills the path.
FillRectangle(Pen, Brush, int, int, int, int)Fills the rectangle.

See Also