public class DummyTextRenderer extends Object implements TextRenderer
TextRenderer.FontFamily, TextRenderer.FontStyle, TextRenderer.TextJustification
Constructor and Description |
---|
DummyTextRenderer() |
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) |
public void renderText(String text)
renderText
in interface TextRenderer
public int getPixelsWidth()
getPixelsWidth
in interface TextRenderer
public int getPixelsHeight()
getPixelsHeight
in interface TextRenderer
public int[] getPixels()
getPixels
in interface TextRenderer
public void setFontFamily(TextRenderer.FontFamily family)
setFontFamily
in interface TextRenderer
public TextRenderer.FontFamily getFontFamily()
getFontFamily
in interface TextRenderer
public void setFontStyle(TextRenderer.FontStyle style)
setFontStyle
in interface TextRenderer
public TextRenderer.FontStyle getFontStyle()
getFontStyle
in interface TextRenderer
public void setFontSize(int size)
setFontSize
in interface TextRenderer
public int getFontSize()
getFontSize
in interface TextRenderer
public void setAntialiasing(boolean val)
setAntialiasing
in interface TextRenderer
public boolean getAntialiasing()
getAntialiasing
in interface TextRenderer
Copyright © 2014–2022 ImageJ. All rights reserved.