Package | Description |
---|---|
com.b3dgs.lionengine | |
com.b3dgs.lionengine.core | |
com.b3dgs.lionengine.drawable |
Modifier and Type | Method and Description |
---|---|
void |
Text.draw(Graphic g,
int x,
int y,
Align alignment,
java.lang.String text)
Renders text on graphic output, to the specified location and alignment.
|
void |
Text.draw(Graphic g,
int x,
int y,
java.lang.String text)
Renders text on graphic output, to the specified location.
|
int |
Text.getStringHeight(Graphic g,
java.lang.String str)
Get string height size.
|
int |
Text.getStringWidth(Graphic g,
java.lang.String str)
Get string width size.
|
void |
Text.render(Graphic g)
Render configured text.
|
Modifier and Type | Method and Description |
---|---|
static Graphic |
UtilityImage.createGraphic()
Create a graphic context.
|
Graphic |
ImageBuffer.createGraphic()
Create the image graphic context.
|
Modifier and Type | Method and Description |
---|---|
void |
SpriteFont.draw(Graphic g,
int x,
int y,
Align align,
java.lang.String... text)
Draw a multiple text at specified location.
|
void |
SpriteFont.draw(Graphic g,
int x,
int y,
Align align,
java.lang.String text)
Draw a single text at specified location.
|
void |
Sprite.render(Graphic g,
int x,
int y)
Render the sprite on graphic output at specified coordinates.
|
void |
Renderable.render(Graphic g,
int x,
int y)
Render element on current graphic output, at specified coordinates.
|
void |
SpriteTiled.render(Graphic g,
int tile,
int x,
int y)
Render a tile to the specified coordinates.
|
void |
SpriteParallaxed.render(Graphic g,
int line,
int x,
int y)
Render a line of parallax to the specified coordinates.
|
void |
SpriteAnimated.render(Graphic g,
int frame,
int x,
int y)
Render a specific frame on graphic output at specified coordinates.
|