Table of Contents

Interface ISvgElementVisitor

Namespace
SharpVectors.Dom.Svg
Assembly
SharpVectors.Core.dll

A visitor pattern interface that visits all renderable SVG elements.

public interface ISvgElementVisitor

Remarks

The implementation is defined are follows:

  • Implements visitor (ISvgElementVisitor) object that implements an operation to be performed on elements of SVG DOM structure.
  • Implement the client that traverses the SVG DOM structure and call a dispatching operation Accept(ISvgElementVisitor) on the SVG element — that dispatches (delegates) the request to the accepted visitor object.
  • The visitor object then performs the operation on the element.

Methods

BeginContainer(ISvgElement)

Signal the beginning of a graphics container element.

EndContainer(ISvgElement)

Signal the ending of a graphics container element.

Visit(ISvgAElement)

Visits the link element.

Visit(ISvgCircleElement)

Visits the circle shape element.

Visit(ISvgEllipseElement)

Visits the ellipse shape element.

Visit(ISvgGElement)

Visits the group element.

Visit(ISvgImageElement)

Visits the image graphics element.

Visit(ISvgLineElement)

Visits the line shape element.

Visit(ISvgPathElement)

Visits the path shape element.

Visit(ISvgPolygonElement)

Visits the polygon shape element.

Visit(ISvgPolylineElement)

Visits the polyline shape element.

Visit(ISvgRectElement)

Visits the rectangle shape element.

Visit(ISvgSvgElement)

Visits the svg clipart element.

Visit(ISvgSwitchElement)

Visits the switch element.

Visit(ISvgSymbolElement)

Visits the symbol element.

Visit(ISvgTSpanElement)

Visits the text-span content element.

Visit(ISvgTextElement)

Visits the text content element.

Visit(ISvgTextPathElement)

Visits the text-path content element.

Visit(ISvgUseElement)

Visits the use element.

See Also