Table of Contents

Class SvgMarker

Namespace
Svg
Assembly
Svg.dll
[SvgElement("marker")]
public class SvgMarker : SvgPathBasedElement, ISvgTransformable, ICloneable, ISvgNode, ISvgStylable, ISvgBoundable, ISvgClipable, ISvgViewPort
Inheritance
SvgMarker
Implements
Inherited Members
Extension Methods

Properties

AspectRatio

public virtual SvgAspectRatio AspectRatio { get; set; }

Property Value

SvgAspectRatio

Fill

If not set set in the marker, consider the attribute in the drawing element.

public override SvgPaintServer Fill { get; }

Property Value

SvgPaintServer

MarkerHeight

public virtual SvgUnit MarkerHeight { get; set; }

Property Value

SvgUnit

MarkerUnits

public virtual SvgMarkerUnits MarkerUnits { get; set; }

Property Value

SvgMarkerUnits

MarkerWidth

public virtual SvgUnit MarkerWidth { get; set; }

Property Value

SvgUnit

Orient

public virtual SvgOrient Orient { get; set; }

Property Value

SvgOrient

Overflow

public virtual SvgOverflow Overflow { get; set; }

Property Value

SvgOverflow

RefX

public virtual SvgUnit RefX { get; set; }

Property Value

SvgUnit

RefY

public virtual SvgUnit RefY { get; set; }

Property Value

SvgUnit

Stroke

If not set set in the marker, consider the attribute in the drawing element.

public override SvgPaintServer Stroke { get; }

Property Value

SvgPaintServer

ViewBox

Gets or sets the viewport of the element.

public virtual SvgViewBox ViewBox { get; set; }

Property Value

SvgViewBox

Methods

DeepCopy()

public override SvgElement DeepCopy()

Returns

SvgElement

Path(ISvgRenderer)

Gets the GraphicsPath for this element.

public override GraphicsPath Path(ISvgRenderer renderer)

Parameters

renderer ISvgRenderer

Returns

GraphicsPath

RenderMarker(ISvgRenderer, SvgVisualElement, PointF, PointF, PointF, bool)

Render this marker using the slope of the given line segment

public void RenderMarker(ISvgRenderer pRenderer, SvgVisualElement pOwner, PointF pRefPoint, PointF pMarkerPoint1, PointF pMarkerPoint2, bool isStartMarker)

Parameters

pRenderer ISvgRenderer
pOwner SvgVisualElement
pRefPoint PointF
pMarkerPoint1 PointF
pMarkerPoint2 PointF
isStartMarker bool

RenderMarker(ISvgRenderer, SvgVisualElement, PointF, PointF, PointF, PointF)

Render this marker using the average of the slopes of the two given line segments

public void RenderMarker(ISvgRenderer pRenderer, SvgVisualElement pOwner, PointF pRefPoint, PointF pMarkerPoint1, PointF pMarkerPoint2, PointF pMarkerPoint3)

Parameters

pRenderer ISvgRenderer
pOwner SvgVisualElement
pRefPoint PointF
pMarkerPoint1 PointF
pMarkerPoint2 PointF
pMarkerPoint3 PointF