Table of Contents

Class SvgSymbol

Namespace
Svg
Assembly
Svg.dll

An element used to group SVG shapes.

[SvgElement("symbol")]
public class SvgSymbol : SvgVisualElement, ISvgTransformable, ICloneable, ISvgNode, ISvgStylable, ISvgBoundable, ISvgClipable
Inheritance
SvgSymbol
Implements
Inherited Members
Extension Methods

Properties

AspectRatio

Gets or sets the aspect of the viewport.

public SvgAspectRatio AspectRatio { get; set; }

Property Value

SvgAspectRatio

Bounds

Gets the bounds of the element.

public override RectangleF Bounds { get; }

Property Value

RectangleF

The bounds.

Renderable

protected override bool Renderable { get; }

Property Value

bool

ViewBox

Gets or sets the viewport of the element.

public SvgViewBox ViewBox { get; set; }

Property Value

SvgViewBox

Methods

DeepCopy()

public override SvgElement DeepCopy()

Returns

SvgElement

Path(ISvgRenderer)

Gets the GraphicsPath for this element.

public override GraphicsPath Path(ISvgRenderer renderer)

Parameters

renderer ISvgRenderer

Returns

GraphicsPath

PushTransforms(ISvgRenderer)

Applies the required transforms to ISvgRenderer.

protected override bool PushTransforms(ISvgRenderer renderer)

Parameters

renderer ISvgRenderer

The ISvgRenderer to be transformed.

Returns

bool

Render(ISvgRenderer)

Renders the SvgElement and contents to the specified Graphics object.

protected override void Render(ISvgRenderer renderer)

Parameters

renderer ISvgRenderer

The ISvgRenderer object to render to.