Package com.itextpdf.svg.css
      
 
      Class SvgStrokeParameterConverter
      java.lang.Object 
      
 
     
       com.itextpdf.svg.css.SvgStrokeParameterConverter
      
 
     
       This class converts stroke related SVG parameters and attributes into those from PDF specification.
      
 
     -  
        
Nested Class Summary
Nested ClassesModifier and TypeClassDescriptionstatic classThis class represents PDF dash parameters. -  
        
Method Summary
Modifier and TypeMethodDescriptionconvertStrokeDashParameters(String strokeDashArray, String strokeDashOffset, float fontSize, SvgDrawContext context) Convert stroke related SVG parameters and attributes into PDF line dash parameters. 
-  
        
Method Details
-  
           
convertStrokeDashParameters
public static SvgStrokeParameterConverter.PdfLineDashParameters convertStrokeDashParameters(String strokeDashArray, String strokeDashOffset, float fontSize, SvgDrawContext context) Convert stroke related SVG parameters and attributes into PDF line dash parameters.- Parameters:
 - 
              
strokeDashArray- 'stroke-dasharray' css property value. - 
              
strokeDashOffset- 'stroke-dashoffset' css property value. - 
              
fontSize- font size of the current element. - 
              
context- the svg draw context. - Returns:
 - 
              PDF line dash parameters represented by 
SvgStrokeParameterConverter.PdfLineDashParameters. 
 
 -