public final class TextWidthCalculator extends Object
Constructor and Description |
---|
TextWidthCalculator() |
Modifier and Type | Method and Description |
---|---|
static double |
getMaximalTextWidth(int textSize,
Iterable<String> strings) |
static double |
getMaximalTextWidth(String style,
Iterable<String> strings) |
static double |
getTextWidth(String string) |
public TextWidthCalculator()
public static final double getMaximalTextWidth(int textSize, Iterable<String> strings)
public static final double getMaximalTextWidth(String style, Iterable<String> strings)
public static final double getTextWidth(String string)
Copyright © 2010–2023 Francesco Kriegel. All rights reserved.