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
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
ViewBox
Gets or sets the viewport of the element.
public SvgViewBox ViewBox { get; set; }
Property Value
Methods
DeepCopy()
public override SvgElement DeepCopy()
Returns
Path(ISvgRenderer)
Gets the GraphicsPath for this element.
public override GraphicsPath Path(ISvgRenderer renderer)
Parameters
renderer
ISvgRenderer
Returns
PushTransforms(ISvgRenderer)
Applies the required transforms to ISvgRenderer.
protected override bool PushTransforms(ISvgRenderer renderer)
Parameters
renderer
ISvgRendererThe ISvgRenderer to be transformed.
Returns
Render(ISvgRenderer)
Renders the SvgElement and contents to the specified Graphics object.
protected override void Render(ISvgRenderer renderer)
Parameters
renderer
ISvgRendererThe ISvgRenderer object to render to.