Modifier and Type | Method and Description |
---|---|
RenderFont |
Nifty.createFont(String name) |
Modifier and Type | Method and Description |
---|---|
String |
Nifty.getFontname(RenderFont font) |
Modifier and Type | Class and Description |
---|---|
class |
BatchRenderFont |
Modifier and Type | Method and Description |
---|---|
RenderFont |
BatchRenderDevice.createFont(String filename) |
Modifier and Type | Method and Description |
---|---|
void |
BatchRenderDevice.renderFont(RenderFont font,
String text,
int x,
int y,
Color color,
float sizeX,
float sizeY) |
Modifier and Type | Method and Description |
---|---|
RenderFont |
NiftyRenderDeviceProxy.createFont(String name) |
RenderFont |
NiftyRenderDeviceProxy.getFont() |
Modifier and Type | Method and Description |
---|---|
String |
NiftyRenderDeviceProxy.getFontname(RenderFont font) |
void |
NiftyRenderDeviceProxy.setFont(RenderFont font) |
Modifier and Type | Class and Description |
---|---|
class |
TextRenderer.RenderFontNull
RenderFont Null Object.
|
Modifier and Type | Method and Description |
---|---|
RenderFont |
TextRenderer.getFont()
Get RenderFont.
|
Modifier and Type | Method and Description |
---|---|
void |
TextRenderer.setFont(RenderFont fontParam)
set font.
|
Constructor and Description |
---|
TextRenderer(Nifty nifty,
RenderFont newFont,
String newText)
create new renderer with the given font and text.
|
Modifier and Type | Method and Description |
---|---|
static int |
FontHelper.getCharacterIndexFromPixelPosition(RenderFont font,
CharSequence text,
int pixel,
float size)
get index into text from a given pixel position.
|
static int |
FontHelper.getVisibleCharactersFromEnd(RenderFont font,
CharSequence text,
int width,
float size)
Get character index into the given text that is no more pixel as the given width.
|
static int |
FontHelper.getVisibleCharactersFromStart(RenderFont font,
CharSequence text,
int width,
float size)
Get character index into the given text that is no more pixel as the given width.
|
Constructor and Description |
---|
TextBreak(String line,
int width,
RenderFont font) |
Modifier and Type | Method and Description |
---|---|
RenderFont |
Convert.font(NiftyRenderEngine niftyRenderEngine,
String value) |
Modifier and Type | Method and Description |
---|---|
RenderFont |
NullRenderDevice.createFont(String filename) |
Modifier and Type | Method and Description |
---|---|
void |
NullRenderDevice.renderFont(RenderFont font,
String text,
int x,
int y,
Color fontColor,
float sizeX,
float sizeY) |
Modifier and Type | Method and Description |
---|---|
RenderFont |
ScalingRenderDevice.createFont(String filename) |
RenderFont |
NiftyRenderEngineImpl.createFont(String filename) |
RenderFont |
NiftyRenderEngine.createFont(String name)
Create a new RenderFont.
|
RenderFont |
NiftyRenderEngineImpl.getFont()
get font.
|
RenderFont |
NiftyRenderEngine.getFont()
get font.
|
Modifier and Type | Method and Description |
---|---|
String |
NiftyRenderEngineImpl.getFontname(RenderFont font) |
String |
NiftyRenderEngine.getFontname(RenderFont font)
Returns the original filename of the given RenderFont.
|
void |
ScalingRenderDevice.renderFont(RenderFont font,
String text,
int x,
int y,
Color fontColor,
float sizeX,
float sizeY) |
void |
NiftyRenderEngineImpl.setFont(RenderFont newFont)
set font.
|
void |
NiftyRenderEngine.setFont(RenderFont font)
set font.
|
Modifier and Type | Method and Description |
---|---|
RenderFont |
RenderDevice.createFont(String filename)
Create a new RenderFont.
|
Modifier and Type | Method and Description |
---|---|
void |
RenderDevice.renderFont(RenderFont font,
String text,
int x,
int y,
Color fontColor,
float sizeX,
float sizeY)
Render the given text at the given position.
|
Copyright © 2013. All Rights Reserved.