Interface ISvgPathHandler
- Namespace
- SharpVectors.Dom.Svg
- Assembly
- SharpVectors.Model.dll
This interface must be implemented and then registred as the handler of a PathParser
instance in order to be notified of parsing events.
public interface ISvgPathHandler
Methods
- ArcAbs(float, float, float, bool, bool, float, float)
Invoked when an absolute elliptical arc command has been parsed.
Command : A
- ArcRel(float, float, float, bool, bool, float, float)
Invoked when a relative elliptical arc command has been parsed.
Command : a
- ClosePath()
Invoked when a closepath has been parsed.
Command : z | Z
- CurvetoCubicAbs(float, float, float, float, float, float)
Invoked when an absolute cubic bezier curve command has been parsed.
Command : C
- CurvetoCubicRel(float, float, float, float, float, float)
Invoked when a relative cubic bezier curve command has been parsed.
Command : c
- CurvetoCubicSmoothAbs(float, float, float, float)
Invoked when an absolute smooth cubic bezier curve command has been parsed. The first control point is assumed to be the reflection of the second control point on the previous command relative to the current point.
Command : S
- CurvetoCubicSmoothRel(float, float, float, float)
Invoked when a relative smooth cubic bezier curve command has been parsed. The first control point is assumed to be the reflection of the second control point on the previous command relative to the current point.
Command : s
- CurvetoQuadraticAbs(float, float, float, float)
Invoked when an absolute quadratic bezier curve command has been parsed.
Command : Q
- CurvetoQuadraticRel(float, float, float, float)
Invoked when a relative quadratic bezier curve command has been parsed.
Command : q
- CurvetoQuadraticSmoothAbs(float, float)
Invoked when an absolute smooth quadratic bezier curve command has been parsed. The control point is assumed to be the reflection of the control point on the previous command relative to the current point.
Command : T
- CurvetoQuadraticSmoothRel(float, float)
Invoked when a relative smooth quadratic bezier curve command has been parsed. The control point is assumed to be the reflection of the control point on the previous command relative to the current point.
Command : t
- EndPath()
Invoked when the path ends.
- LinetoAbs(float, float)
Invoked when an absolute line command has been parsed.
Command : L
- LinetoHorizontalAbs(float)
Invoked when an horizontal absolute line command has been parsed.
Command : H
- LinetoHorizontalRel(float)
Invoked when an horizontal relative line command has been parsed.
Command : h
- LinetoRel(float, float)
Invoked when a relative line command has been parsed.
Command : l
- LinetoVerticalAbs(float)
Invoked when a vertical absolute line command has been parsed.
Command : V
- LinetoVerticalRel(float)
Invoked when a vertical relative line command has been parsed.
Command : v
- MovetoAbs(float, float)
Invoked when an absolute moveto command has been parsed.
Command : M
- MovetoRel(float, float)
Invoked when a relative moveto command has been parsed.
Command : m
- StartPath()
Invoked when the path starts.