Class SvgStrokeParameterConverter
This class converts stroke related SVG parameters and attributes into those from PDF specification.
public sealed class SvgStrokeParameterConverter
- Inheritance
-
SvgStrokeParameterConverter
- Inherited Members
Methods
ConvertStrokeDashParameters(string, string, float, SvgDrawContext)
Convert stroke related SVG parameters and attributes into PDF line dash parameters.
public static SvgStrokeParameterConverter.PdfLineDashParameters ConvertStrokeDashParameters(string strokeDashArray, string strokeDashOffset, float fontSize, SvgDrawContext context)
Parameters
strokeDashArray
string'stroke-dasharray' css property value.
strokeDashOffset
string'stroke-dashoffset' css property value.
fontSize
floatfont size of the current element.
context
SvgDrawContextthe svg draw context.
Returns
- SvgStrokeParameterConverter.PdfLineDashParameters
PDF line dash parameters represented by SvgStrokeParameterConverter.PdfLineDashParameters.