public class AreaEstimator
extends java.lang.Object
Modifier and Type | Field and Description |
---|---|
double |
charWidthFactor |
Constructor and Description |
---|
AreaEstimator() |
Modifier and Type | Method and Description |
---|---|
Measure |
estimateHeight(FlowObject sc,
Measure containerWidth) |
Measure |
estimateTextWidth(java.lang.String str,
java.awt.Font font) |
Measure |
estimateTextWidth(java.lang.String str,
Measure fontSize,
java.lang.String font,
boolean bold,
boolean italic) |
Measure |
estimateWidth(FlowObject flowObject) |
public Measure estimateTextWidth(java.lang.String str, Measure fontSize, java.lang.String font, boolean bold, boolean italic)
public Measure estimateTextWidth(java.lang.String str, java.awt.Font font)
public Measure estimateWidth(FlowObject flowObject)
public Measure estimateHeight(FlowObject sc, Measure containerWidth)
© 2003-2011 by Sascha Schmidt (vision-cloud.de). All Rights Reserved.