Class SvgSwitch
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
Inherited Members
System.Object.MemberwiseClone()
System.Object.ReferenceEquals(System.Object, System.Object)
System.Object.ToString()
Namespace: Svg
Assembly: Svg.dll
Syntax
[SvgElement("switch")]
public class SvgSwitch : SvgVisualElement, ISvgTransformable, ICloneable, ISvgNode, ISvgStylable, ISvgBoundable, ISvgClipable
Properties
| Improve this Doc View SourceBounds
Gets the bounds of the element.
Declaration
public override RectangleF Bounds { get; }
Property Value
| Type | Description |
|---|---|
| RectangleF | The bounds. |
Overrides
Methods
| Improve this Doc View SourceDeepCopy()
Declaration
public override SvgElement DeepCopy()
Returns
| Type | Description |
|---|---|
| SvgElement |
Overrides
| Improve this Doc View SourcePath(ISvgRenderer)
Gets the
Declaration
public override GraphicsPath Path(ISvgRenderer renderer)
Parameters
| Type | Name | Description |
|---|---|---|
| ISvgRenderer | renderer |
Returns
| Type | Description |
|---|---|
| GraphicsPath |
Overrides
| Improve this Doc View SourceRender(ISvgRenderer)
Renders the SvgElement and contents to the specified
Declaration
protected override void Render(ISvgRenderer renderer)
Parameters
| Type | Name | Description |
|---|---|---|
| ISvgRenderer | renderer | The |