public class WidthCalculator
extends java.lang.Object
| Constructor | Description |
|---|---|
WidthCalculator() |
| Modifier and Type | Method | Description |
|---|---|---|
float |
getWidth(Tag tag,
java.util.List<java.lang.String> roottags,
float pagewidth) |
Tries to calculate a width from a tag and it's ancestors.
|
float |
getWidth(Tag tag,
java.util.List<java.lang.String> roottags,
float pagewidth,
float initialTotalWidth) |
public float getWidth(Tag tag, java.util.List<java.lang.String> roottags, float pagewidth)
tag - the tag to useroottags - the root tags,pagewidth - the page widthpublic float getWidth(Tag tag, java.util.List<java.lang.String> roottags, float pagewidth, float initialTotalWidth)
Copyright © 1998–2018. All rights reserved.