| Package | Description |
|---|---|
| org.openimaj.image.typography.general | |
| org.openimaj.tools.ocr |
| Modifier and Type | Method and Description |
|---|---|
static <T> Polygon[] |
GeneralFontRenderer.getPolygons(char[] characters,
int x,
int y,
GeneralFontStyle<T> style)
Returns a list of polygons that represent the letters in the given text.
|
static <T> Polygon[] |
GeneralFontRenderer.getPolygons(String text,
int x,
int y,
GeneralFontStyle<T> style)
Returns a list of polygons that represent the letters in the given text.
|
Rectangle |
GeneralFontRenderer.getSize(String string,
GeneralFontStyle<T> style)
Calculate the bounding box of the rendered text with the given style.
|
void |
GeneralFontRenderer.renderText(ImageRenderer<T,?> renderer,
String text,
int x,
int y,
GeneralFontStyle<T> style)
Render the given text string to the image starting at (x, y) with the
given style.
|
| Modifier and Type | Method and Description |
|---|---|
GeneralFontStyle<Q> |
FontSimulator.getJitteredFontStyle(GeneralFontStyle<Q> gfs)
Get a jittered font style
|
| Modifier and Type | Method and Description |
|---|---|
GeneralFontStyle<Q> |
FontSimulator.getJitteredFontStyle(GeneralFontStyle<Q> gfs)
Get a jittered font style
|