Package | Description |
---|---|
com.googlecode.lanterna.graphics | |
com.googlecode.lanterna.gui2 | |
com.googlecode.lanterna.screen |
Modifier and Type | Class | Description |
---|---|---|
class |
BasicTextImage |
Simple implementation of TextImage that keeps the content as a two-dimensional TextCharacter array.
|
Modifier and Type | Method | 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 | Description |
---|---|---|
void |
BasicTextImage.copyTo(TextImage destination) |
|
void |
BasicTextImage.copyTo(TextImage destination,
int startRowIndex,
int rows,
int startColumnIndex,
int columns,
int destinationRowOffset,
int destinationColumnOffset) |
|
void |
TextImage.copyTo(TextImage destination) |
Copies this TextImage's content to another TextImage.
|
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.
|
TextGraphics |
AbstractTextGraphics.drawImage(TerminalPosition topLeft,
TextImage image) |
|
TextGraphics |
AbstractTextGraphics.drawImage(TerminalPosition topLeft,
TextImage image,
TerminalPosition sourceImageTopLeft,
TerminalSize sourceImageSize) |
|
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 |
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.
|
Modifier and Type | Method | Description |
---|---|---|
TextGraphics |
TextGUIGraphics.drawImage(TerminalPosition topLeft,
TextImage image) |
|
TextGraphics |
TextGUIGraphics.drawImage(TerminalPosition topLeft,
TextImage image,
TerminalPosition sourceImageTopLeft,
TerminalSize sourceImageSize) |
Modifier and Type | Class | 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 | 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 © 2020. All rights reserved.