Package | Description |
---|---|
com.googlecode.lanterna.graphics | |
com.googlecode.lanterna.gui2 | |
com.googlecode.lanterna.screen |
Modifier and Type | Class and Description |
---|---|
class |
BasicTextImage
Simple implementation of TextImage that keeps the content as a two-dimensional TextCharacter array.
|
Modifier and Type | Method and Description |
---|---|
TextImage |
TextImage.resize(TerminalSize newSize,
TextCharacter filler)
Returns a copy of this image resized to a new size and using a specified filler character if the new size is
larger than the old and we need to fill in empty areas.
|
Modifier and Type | Method and Description |
---|---|
void |
TextImage.copyTo(TextImage destination)
Copies this TextImage's content to another TextImage.
|
void |
BasicTextImage.copyTo(TextImage destination) |
void |
TextImage.copyTo(TextImage destination,
int startRowIndex,
int rows,
int startColumnIndex,
int columns,
int destinationRowOffset,
int destinationColumnOffset)
Copies this TextImage's content to another TextImage.
|
void |
BasicTextImage.copyTo(TextImage destination,
int startRowIndex,
int rows,
int startColumnIndex,
int columns,
int destinationRowOffset,
int destinationColumnOffset) |
TextGraphics |
TextGraphics.drawImage(TerminalPosition topLeft,
TextImage image)
Takes a TextImage and draws it on the surface this TextGraphics is targeting, given the coordinates on the target
that is specifying where the top-left corner of the image should be drawn.
|
TextGraphics |
ImmutableThemedTextGraphics.drawImage(TerminalPosition topLeft,
TextImage image) |
TextGraphics |
AbstractTextGraphics.drawImage(TerminalPosition topLeft,
TextImage image) |
TextGraphics |
TextGraphics.drawImage(TerminalPosition topLeft,
TextImage image,
TerminalPosition sourceImageTopLeft,
TerminalSize sourceImageSize)
Takes a TextImage and draws it on the surface this TextGraphics is targeting, given the coordinates on the target
that is specifying where the top-left corner of the image should be drawn.
|
TextGraphics |
ImmutableThemedTextGraphics.drawImage(TerminalPosition topLeft,
TextImage image,
TerminalPosition sourceImageTopLeft,
TerminalSize sourceImageSize) |
TextGraphics |
AbstractTextGraphics.drawImage(TerminalPosition topLeft,
TextImage image,
TerminalPosition sourceImageTopLeft,
TerminalSize sourceImageSize) |
Modifier and Type | Method and Description |
---|---|
TextGraphics |
TextGUIGraphics.drawImage(TerminalPosition topLeft,
TextImage image) |
TextGraphics |
TextGUIGraphics.drawImage(TerminalPosition topLeft,
TextImage image,
TerminalPosition sourceImageTopLeft,
TerminalSize sourceImageSize) |
Modifier and Type | Class and Description |
---|---|
class |
ScreenBuffer
Defines a buffer used by AbstractScreen and its subclasses to keep its state of what's currently displayed and what
the edit buffer looks like.
|
Modifier and Type | Method and Description |
---|---|
void |
ScreenBuffer.copyFrom(TextImage source,
int startRowIndex,
int rows,
int startColumnIndex,
int columns,
int destinationRowOffset,
int destinationColumnOffset)
Copies the content from a TextImage into this buffer.
|
void |
ScreenBuffer.copyTo(TextImage destination) |
void |
ScreenBuffer.copyTo(TextImage destination,
int startRowIndex,
int rows,
int startColumnIndex,
int columns,
int destinationRowOffset,
int destinationColumnOffset) |
Copyright © 2016. All rights reserved.