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
Fill
If not set set in the marker, consider the attribute in the drawing element.
public override SvgPaintServer Fill { get; }
Property Value
MarkerHeight
public virtual SvgUnit MarkerHeight { get; set; }
Property Value
MarkerUnits
public virtual SvgMarkerUnits MarkerUnits { get; set; }
Property Value
MarkerWidth
public virtual SvgUnit MarkerWidth { get; set; }
Property Value
Orient
public virtual SvgOrient Orient { get; set; }
Property Value
Overflow
public virtual SvgOverflow Overflow { get; set; }
Property Value
RefX
public virtual SvgUnit RefX { get; set; }
Property Value
RefY
public virtual SvgUnit RefY { get; set; }
Property Value
Stroke
If not set set in the marker, consider the attribute in the drawing element.
public override SvgPaintServer Stroke { get; }
Property Value
ViewBox
Gets or sets the viewport of the element.
public virtual SvgViewBox ViewBox { get; set; }
Property Value
Methods
DeepCopy()
public override SvgElement DeepCopy()
Returns
Path(ISvgRenderer)
Gets the GraphicsPath for this element.
public override GraphicsPath Path(ISvgRenderer renderer)
Parameters
renderer
ISvgRenderer
Returns
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
ISvgRendererpOwner
SvgVisualElementpRefPoint
PointFpMarkerPoint1
PointFpMarkerPoint2
PointFisStartMarker
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
ISvgRendererpOwner
SvgVisualElementpRefPoint
PointFpMarkerPoint1
PointFpMarkerPoint2
PointFpMarkerPoint3
PointF