Package com.itextpdf.svg.css
Class SvgCssContext
java.lang.Object
com.itextpdf.styledxmlparser.css.resolve.AbstractCssContext
com.itextpdf.svg.css.SvgCssContext
Context necessary for evaluating certain Css statements whose final values depends on other statements e.g. relative font-size statements.
-
Constructor Summary
-
Method Summary
Modifier and TypeMethodDescriptionfloat
Gets the root font size.void
setRootFontSize
(String fontSizeStr) Sets the root font size.Methods inherited from class com.itextpdf.styledxmlparser.css.resolve.AbstractCssContext
getQuotesDepth, setQuotesDepth
-
Constructor Details
-
SvgCssContext
public SvgCssContext()
-
-
Method Details
-
getRootFontSize
public float getRootFontSize()Gets the root font size.- Returns:
- the root font size in pt
-
setRootFontSize
Sets the root font size.- Parameters:
-
fontSizeStr
- the new root font size
-