Interface ISharpMarkerHost
- Namespace
- SharpVectors.Dom.Svg
- Assembly
- SharpVectors.Core.dll
This is an extension to the Svg DOM. It denotes that an element can display markers.
public interface ISharpMarkerHost
Remarks
A marker is a symbol which is attached to one or more vertices of some Svg elements. In order for a marker to be drawn correctly, its orientation and position needs to be known. See SVG 1.0 Masking - Establishing A New Clipping Path
This interface provides the information required to calculate the orientation and position for each marker of an Svg element.
To give an Svg element the capability to draw markers, let the Svg element implement this interface.
Properties
- MarkerPositions
An array specifying the position of each vertex in the Svg element's shape.
Methods
- GetEndAngle(int)
Get the angle of the path segment leaving the specified vertex in degrees.
- GetStartAngle(int)
Get the angle of the path segment entering the specified vertex.