Table of Contents

Class SvgSwitch

Namespace
Svg
Assembly
Svg.dll

The 'switch' element evaluates the 'requiredFeatures', 'requiredExtensions' and 'systemLanguage' attributes on its direct child elements in order, and then processes and renders the first child for which these attributes evaluate to true

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

Properties

Bounds

Gets the bounds of the element.

public override RectangleF Bounds { get; }

Property Value

RectangleF

The bounds.

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

Render(ISvgRenderer)

Renders the SvgElement and contents to the specified Graphics object.

protected override void Render(ISvgRenderer renderer)

Parameters

renderer ISvgRenderer

The Graphics object to render to.