@Api(allMethods=true)
public interface TextService
| Modifier and Type | Method and Description |
|---|---|
Font |
getFont(FontStyleInfo fontStyle)
Convert the specified font style to an AWT font.
|
Rectangle2D |
getStringBounds(String text,
FontStyleInfo fontStyle)
Returns the dimensions of a text string rendered with the specified font style.
|
Rectangle2D getStringBounds(String text, FontStyleInfo fontStyle)
text - the stringfontStyle - the font styleFont getFont(FontStyleInfo fontStyle)
fontStyle - the font styleCopyright © 2015 Geosparc. All Rights Reserved.