Interface IMarkerCapable
Interface implemented by elements that support marker drawing.
public interface IMarkerCapable
Remarks
Interface implemented by elements that support marker drawing. Defines methods for working with markers.
Methods
DrawMarker(SvgDrawContext, MarkerVertexType)
Draws a marker in the specified context.
void DrawMarker(SvgDrawContext context, MarkerVertexType markerVertexType)
Parameters
context
SvgDrawContextthe object that knows the place to draw this element and maintains its state
markerVertexType
MarkerVertexTypetype of marker that determine on which vertices of the given element marker should be drawn
Remarks
Draws a marker in the specified context. The marker is drawn on the vertices defined according to the given marker type.
GetAutoOrientAngle(MarkerSvgNodeRenderer, bool)
Calculates marker orientation angle if
orient
attribute is set to
auto
double GetAutoOrientAngle(MarkerSvgNodeRenderer marker, bool reverse)
Parameters
marker
MarkerSvgNodeRenderermarker for which the rotation angle should be calculated
reverse
boolindicates that the resulting angle should be rotated 180 degrees
Returns
- double
marker orientation angle so that its positive x-axis is pointing in the direction of the path at the point it is placed