[]
Represents a graphics object that can be used to draw on a GcSvgDocument.
public class GcSvgGraphics : GcGraphics, IDisposable
Public Class GcSvgGraphics
Inherits GcGraphics
Implements IDisposable
Name | Description |
---|---|
GcSvgGraphics(float, float) | Initializes a new instance of the GcSvgGraphics class. |
Name | Description |
---|---|
Description | Gets or sets the description of the SVG document. |
EmbedFonts | Gets or sets a value indicating whether fonts used in 'text' elements should be embedded. Changing this property only affects subsequent calls to DrawTextLayout(TextLayout, PointF), DrawString(string, TextFormat, PointF) and DrawString(string, TextFormat, RectangleF, TextAlignment, ParagraphAlignment, bool) methods. Already rendered text is not affected. This property is ignored if DrawTextAsPath is true. The default is false. |
Height | Gets or sets the height of the image, in device-independent pixels (1/96ths of an inch). |
IDSuffix | Gets or sets a string to be appended to the auto-generated ID values. |
ImageRendering | Gets or sets a hint to the implementation about how to make speed vs. quality tradeoffs as it performs image processing. Setting this property affects the subsequent calls of the DrawImage methods. It does not affect the previous calls. The default is Auto. |
OwnImages | Gets or sets a value indicating whether the images drawn with DrawImage methods should be disposed when disposing the resulting GcSvgDocument. Setting this property affects the subsequent calls of the DrawImage methods. It does not affect the previous calls. The default is false. |
PreciseCharPositions | Gets or sets a value indicating whether the positions are set for each individual character within the 'text' element. Setting this property to true makes the resulting SVG file larger but provides more precise positioning of individual characters. Changing this property only affects subsequent calls to DrawTextLayout(TextLayout, PointF), DrawString(string, TextFormat, PointF) and DrawString(string, TextFormat, RectangleF, TextAlignment, ParagraphAlignment, bool) methods. Already rendered text is not affected. This property is ignored if DrawTextAsPath is true. The default is false. |
Resolution | Gets the resolution of the current graphics, which is always 96 DPI for GcSvgGraphics. |
ShapeRendering | Gets or sets a hint to the implementation about what tradeoffs to make as it renders vector graphics elements. Setting this property affects the subsequent calls of the Draw/Fill methods. It does not affect the previous calls. The default is Auto. |
Title | Gets or sets the title of the SVG document. |
Transform | Gets or sets the transformation matrix of the current graphics. |
Width | Gets or sets the width of the image, in device-independent pixels (1/96ths of an inch). |