public interface TextRenderer
int[]
buffer. Values range from 0 to 255 (for now) and represent grayscale
intensities. The buffer is then available afterwards including its
dimensions. Users can set font attributes before rendering.Modifier and Type | Interface and Description |
---|---|
static class |
TextRenderer.FontFamily |
static class |
TextRenderer.FontStyle |
static class |
TextRenderer.TextJustification |
Modifier and Type | Method and Description |
---|---|
boolean |
getAntialiasing() |
TextRenderer.FontFamily |
getFontFamily() |
int |
getFontSize() |
TextRenderer.FontStyle |
getFontStyle() |
int[] |
getPixels() |
int |
getPixelsHeight() |
int |
getPixelsWidth() |
void |
renderText(String text) |
void |
setAntialiasing(boolean val) |
void |
setFontFamily(TextRenderer.FontFamily family) |
void |
setFontSize(int size) |
void |
setFontStyle(TextRenderer.FontStyle style) |
void renderText(String text)
int getPixelsWidth()
int getPixelsHeight()
int[] getPixels()
void setFontFamily(TextRenderer.FontFamily family)
TextRenderer.FontFamily getFontFamily()
void setFontStyle(TextRenderer.FontStyle style)
TextRenderer.FontStyle getFontStyle()
void setFontSize(int size)
int getFontSize()
void setAntialiasing(boolean val)
boolean getAntialiasing()
Copyright © 2014–2022 ImageJ. All rights reserved.