Table of Contents

Class SvgLineElement

Namespace
SharpVectors.Dom.Svg
Assembly
SharpVectors.Model.dll

The SVGLineElement interface corresponds to the 'line' element.

public sealed class SvgLineElement : SvgTransformableElement, ICloneable, IEnumerable, IXPathNavigable, IEventTargetSupport, IElementCssInlineStyle, ISvgLineElement, ISvgElement, IElement, IXmlElement, INode, IXmlNode, ISvgTests, ISvgLangSpace, ISvgExternalResourcesRequired, ISvgStylable, ISvgTransformable, ISvgLocatable, IEventTarget, ISvgElementVisitorTarget, ISharpMarkerHost
Inheritance
SvgLineElement
Implements
Inherited Members

Constructors

SvgLineElement(string, string, string, SvgDocument)

Properties

ExternalResourcesRequired

Corresponds to attribute externalResourcesRequired on the given element.

IsClosed
MarkerPositions

An array specifying the position of each vertex in the Svg element's shape.

MayHaveCurves
RenderingHint

Gets a value providing a hint on the rendering defined by this element.

RequiredExtensions
RequiredFeatures
SystemLanguage
X1
X2
Y1
Y2

Methods

Accept(ISvgElementVisitor)

This dispatches the rendering request to the accepted ISvgElementVisitor object.

GetEndAngle(int)

Get the angle of the path segment leaving the specified vertex in degrees.

GetMarker(int)
GetStartAngle(int)

Get the angle of the path segment entering the specified vertex.

HandleAttributeChange(XmlAttribute)

This function allows each element to handle it's own behaviors for attribute changing. By default, the cached computed style is invalidated because most attributes refer to style properties.

HasExtension(string)
Invalidate()