Package com.itextpdf.tool.xml.css
Class WidthCalculator
java.lang.Object
com.itextpdf.tool.xml.css.WidthCalculator
- Author:
- Emiel Ackermann
-
Constructor Summary
Constructors -
Method Summary
-
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
-