Table of Contents

Class SvgStrokeParameterConverter

Namespace
iText.Svg.Css
Assembly
itext.svg.dll

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 float

font size of the current element.

context SvgDrawContext

the svg draw context.

Returns

SvgStrokeParameterConverter.PdfLineDashParameters

PDF line dash parameters represented by SvgStrokeParameterConverter.PdfLineDashParameters.