Modifier and Type | Method and Description |
---|---|
RenderFont |
NiftyRenderDeviceProxy.createFont(String name) |
RenderFont |
NiftyRenderDeviceProxy.getFont() |
Modifier and Type | Method and Description |
---|---|
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,
String text,
int pixel,
float size)
get index into text from a given pixel position.
|
static int |
FontHelper.getVisibleCharactersFromEnd(RenderFont font,
String 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,
String 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 size) |
Modifier and Type | Method and Description |
---|---|
RenderFont |
NiftyRenderEngine.createFont(String name)
Create a new RenderFont.
|
RenderFont |
NiftyRenderEngineImpl.createFont(String filename) |
RenderFont |
NiftyRenderEngine.getFont()
get font.
|
RenderFont |
NiftyRenderEngineImpl.getFont()
get font.
|
Modifier and Type | Method and Description |
---|---|
void |
NiftyRenderEngine.setFont(RenderFont font)
set font.
|
void |
NiftyRenderEngineImpl.setFont(RenderFont newFont)
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 size)
Render the given text at the given position.
|
Copyright © 2013. All Rights Reserved.