Package com.itextpdf.tool.xml.css
Class WidthCalculator
java.lang.Object
com.itextpdf.tool.xml.css.WidthCalculator
-
Field Summary
Fields -
Constructor Summary
Constructors -
Method Summary
-
Field Details
-
utils
-
-
Constructor Details
-
WidthCalculator
public WidthCalculator()
-
-
Method Details
-
getWidth
Tries to calculate a width from a tag and it's ancestors.- Parameters:
tag
- the tag to useroottags
- the root tags,pagewidth
- the page width- Returns:
- the width
-
getWidth
-