Modifier and Type | Interface | Description |
---|---|---|
interface |
ThemedTextGraphics |
Expanded TextGraphics that adds methods to interact with themes
|
Modifier and Type | Class | Description |
---|---|---|
class |
AbstractTextGraphics |
This class hold the default logic for drawing the basic text graphic as exposed by TextGraphic.
|
class |
DoublePrintingTextGraphics |
This TextGraphics implementation wraps another TextGraphics and forwards all operations to it, but with a few
differences.
|
Modifier and Type | Method | Description |
---|---|---|
TextGraphics |
AbstractTextGraphics.clearModifiers() |
|
TextGraphics |
AbstractTextGraphics.disableModifiers(SGR... modifiers) |
|
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.
|
TextGraphics |
AbstractTextGraphics.drawLine(int fromX,
int fromY,
int toX,
int toY,
char character) |
|
TextGraphics |
AbstractTextGraphics.drawLine(int fromX,
int fromY,
int toX,
int toY,
TextCharacter character) |
|
TextGraphics |
AbstractTextGraphics.drawLine(TerminalPosition fromPosition,
TerminalPosition toPoint,
char character) |
|
TextGraphics |
AbstractTextGraphics.drawLine(TerminalPosition fromPoint,
TerminalPosition toPoint,
TextCharacter character) |
|
TextGraphics |
TextGraphics.drawLine(int fromX,
int fromY,
int toX,
int toY,
char character) |
Draws a line from a specified position to a specified position, using a supplied character.
|
TextGraphics |
TextGraphics.drawLine(int fromX,
int fromY,
int toX,
int toY,
TextCharacter character) |
Draws a line from a specified position to a specified position, using a supplied character.
|
TextGraphics |
TextGraphics.drawLine(TerminalPosition fromPoint,
TerminalPosition toPoint,
char character) |
Draws a line from a specified position to a specified position, using a supplied character.
|
TextGraphics |
TextGraphics.drawLine(TerminalPosition fromPoint,
TerminalPosition toPoint,
TextCharacter character) |
Draws a line from a specified position to a specified position, using a supplied TextCharacter.
|
TextGraphics |
AbstractTextGraphics.drawRectangle(TerminalPosition topLeft,
TerminalSize size,
char character) |
|
TextGraphics |
AbstractTextGraphics.drawRectangle(TerminalPosition topLeft,
TerminalSize size,
TextCharacter character) |
|
TextGraphics |
TextGraphics.drawRectangle(TerminalPosition topLeft,
TerminalSize size,
char character) |
Draws the outline of a rectangle with a particular character (and the currently active colors and
modifiers).
|
TextGraphics |
TextGraphics.drawRectangle(TerminalPosition topLeft,
TerminalSize size,
TextCharacter character) |
Draws the outline of a rectangle with a particular TextCharacter, ignoring the current colors and modifiers of
this TextGraphics.
|
TextGraphics |
AbstractTextGraphics.drawTriangle(TerminalPosition p1,
TerminalPosition p2,
TerminalPosition p3,
char character) |
|
TextGraphics |
AbstractTextGraphics.drawTriangle(TerminalPosition p1,
TerminalPosition p2,
TerminalPosition p3,
TextCharacter character) |
|
TextGraphics |
TextGraphics.drawTriangle(TerminalPosition p1,
TerminalPosition p2,
TerminalPosition p3,
char character) |
Draws the outline of a triangle on the screen, using a supplied character.
|
TextGraphics |
TextGraphics.drawTriangle(TerminalPosition p1,
TerminalPosition p2,
TerminalPosition p3,
TextCharacter character) |
Draws the outline of a triangle on the screen, using a supplied character.
|
TextGraphics |
AbstractTextGraphics.enableModifiers(SGR... modifiers) |
|
TextGraphics |
AbstractTextGraphics.fill(char c) |
|
TextGraphics |
TextGraphics.fill(char c) |
Fills the entire writable area with a single character, using current foreground color, background color and modifiers.
|
TextGraphics |
AbstractTextGraphics.fillRectangle(TerminalPosition topLeft,
TerminalSize size,
char character) |
|
TextGraphics |
AbstractTextGraphics.fillRectangle(TerminalPosition topLeft,
TerminalSize size,
TextCharacter character) |
|
TextGraphics |
TextGraphics.fillRectangle(TerminalPosition topLeft,
TerminalSize size,
char character) |
Takes a rectangle and fills it with a particular character (and the currently active colors and
modifiers).
|
TextGraphics |
TextGraphics.fillRectangle(TerminalPosition topLeft,
TerminalSize size,
TextCharacter character) |
Takes a rectangle and fills it using a particular TextCharacter, ignoring the current colors and modifiers of
this TextGraphics.
|
TextGraphics |
AbstractTextGraphics.fillTriangle(TerminalPosition p1,
TerminalPosition p2,
TerminalPosition p3,
char character) |
|
TextGraphics |
AbstractTextGraphics.fillTriangle(TerminalPosition p1,
TerminalPosition p2,
TerminalPosition p3,
TextCharacter character) |
|
TextGraphics |
TextGraphics.fillTriangle(TerminalPosition p1,
TerminalPosition p2,
TerminalPosition p3,
char character) |
Draws a filled triangle, using a supplied character.
|
TextGraphics |
TextGraphics.fillTriangle(TerminalPosition p1,
TerminalPosition p2,
TerminalPosition p3,
TextCharacter character) |
Draws a filled triangle, using a supplied character.
|
TextGraphics |
AbstractTextGraphics.newTextGraphics(TerminalPosition topLeftCorner,
TerminalSize size) |
|
TextGraphics |
BasicTextImage.newTextGraphics() |
|
TextGraphics |
TextGraphics.newTextGraphics(TerminalPosition topLeftCorner,
TerminalSize size) |
Creates a new TextGraphics of the same type as this one, using the same underlying subsystem.
|
TextGraphics |
TextImage.newTextGraphics() |
Creates a TextGraphics object that targets this TextImage for all its drawing operations.
|
TextGraphics |
AbstractTextGraphics.putCSIStyledString(int column,
int row,
String string) |
|
TextGraphics |
AbstractTextGraphics.putCSIStyledString(TerminalPosition position,
String string) |
|
TextGraphics |
TextGraphics.putCSIStyledString(int column,
int row,
String string) |
Puts a string on the screen at the specified position with the current colors and modifiers.
|
TextGraphics |
TextGraphics.putCSIStyledString(TerminalPosition position,
String string) |
Puts a string on the screen at the specified position with the current colors and modifiers.
|
TextGraphics |
AbstractTextGraphics.putString(int column,
int row,
String string) |
|
TextGraphics |
AbstractTextGraphics.putString(int column,
int row,
String string,
SGR extraModifier,
SGR... optionalExtraModifiers) |
|
TextGraphics |
AbstractTextGraphics.putString(int column,
int row,
String string,
Collection<SGR> extraModifiers) |
|
TextGraphics |
AbstractTextGraphics.putString(TerminalPosition position,
String string) |
|
TextGraphics |
AbstractTextGraphics.putString(TerminalPosition position,
String string,
SGR extraModifier,
SGR... optionalExtraModifiers) |
|
TextGraphics |
TextGraphics.putString(int column,
int row,
String string) |
Puts a string on the screen at the specified position with the current colors and modifiers.
|
TextGraphics |
TextGraphics.putString(int column,
int row,
String string,
SGR extraModifier,
SGR... optionalExtraModifiers) |
Puts a string on the screen at the specified position with the current colors and modifiers.
|
TextGraphics |
TextGraphics.putString(int column,
int row,
String string,
Collection<SGR> extraModifiers) |
Puts a string on the screen at the specified position with the current colors and modifiers.
|
TextGraphics |
TextGraphics.putString(TerminalPosition position,
String string) |
Shortcut to calling:
|
TextGraphics |
TextGraphics.putString(TerminalPosition position,
String string,
SGR extraModifier,
SGR... optionalExtraModifiers) |
Shortcut to calling:
|
TextGraphics |
AbstractTextGraphics.setBackgroundColor(TextColor backgroundColor) |
|
TextGraphics |
AbstractTextGraphics.setCharacter(int column,
int row,
char character) |
|
TextGraphics |
AbstractTextGraphics.setCharacter(TerminalPosition position,
char character) |
|
TextGraphics |
AbstractTextGraphics.setCharacter(TerminalPosition position,
TextCharacter textCharacter) |
|
TextGraphics |
DoublePrintingTextGraphics.setCharacter(int columnIndex,
int rowIndex,
TextCharacter textCharacter) |
|
TextGraphics |
TextGraphics.setCharacter(int column,
int row,
char character) |
Sets the character at the current position to the specified value
|
TextGraphics |
TextGraphics.setCharacter(int column,
int row,
TextCharacter character) |
Sets the character at the current position to the specified value, without using the current colors and modifiers
of this TextGraphics.
|
TextGraphics |
TextGraphics.setCharacter(TerminalPosition position,
char character) |
Sets the character at the current position to the specified value
|
TextGraphics |
TextGraphics.setCharacter(TerminalPosition position,
TextCharacter character) |
Sets the character at the current position to the specified value, without using the current colors and modifiers
of this TextGraphics.
|
TextGraphics |
AbstractTextGraphics.setForegroundColor(TextColor foregroundColor) |
|
TextGraphics |
AbstractTextGraphics.setModifiers(EnumSet<SGR> modifiers) |
|
TextGraphics |
AbstractTextGraphics.setStyleFrom(StyleSet<?> source) |
|
TextGraphics |
AbstractTextGraphics.setTabBehaviour(TabBehaviour tabBehaviour) |
|
TextGraphics |
TextGraphics.setTabBehaviour(TabBehaviour tabBehaviour) |
Sets the behaviour to use when expanding tab characters (\t) to spaces
|
Constructor | Description |
---|---|
DoublePrintingTextGraphics(TextGraphics underlyingTextGraphics) |
Creates a new
DoublePrintingTextGraphics on top of a supplied TextGraphics |
TextGraphicsWriter(TextGraphics backend) |
Modifier and Type | Class | Description |
---|---|---|
class |
TextGUIGraphics |
TextGraphics implementation used by TextGUI when doing any drawing operation.
|
Modifier and Type | Method | Description |
---|---|---|
TextGraphics |
TextGUIGraphics.drawImage(TerminalPosition topLeft,
TextImage image) |
|
TextGraphics |
TextGUIGraphics.drawImage(TerminalPosition topLeft,
TextImage image,
TerminalPosition sourceImageTopLeft,
TerminalSize sourceImageSize) |
|
TextGraphics |
TextGUIGraphics.drawLine(int fromX,
int fromY,
int toX,
int toY,
char character) |
|
TextGraphics |
TextGUIGraphics.drawLine(int fromX,
int fromY,
int toX,
int toY,
TextCharacter character) |
|
TextGraphics |
TextGUIGraphics.drawLine(TerminalPosition fromPoint,
TerminalPosition toPoint,
char character) |
|
TextGraphics |
TextGUIGraphics.drawLine(TerminalPosition fromPoint,
TerminalPosition toPoint,
TextCharacter character) |
|
TextGraphics |
TextGUIGraphics.drawRectangle(TerminalPosition topLeft,
TerminalSize size,
char character) |
|
TextGraphics |
TextGUIGraphics.drawRectangle(TerminalPosition topLeft,
TerminalSize size,
TextCharacter character) |
|
TextGraphics |
TextGUIGraphics.drawTriangle(TerminalPosition p1,
TerminalPosition p2,
TerminalPosition p3,
char character) |
|
TextGraphics |
TextGUIGraphics.drawTriangle(TerminalPosition p1,
TerminalPosition p2,
TerminalPosition p3,
TextCharacter character) |
|
TextGraphics |
TextGUIGraphics.fillRectangle(TerminalPosition topLeft,
TerminalSize size,
char character) |
|
TextGraphics |
TextGUIGraphics.fillRectangle(TerminalPosition topLeft,
TerminalSize size,
TextCharacter character) |
|
TextGraphics |
TextGUIGraphics.fillTriangle(TerminalPosition p1,
TerminalPosition p2,
TerminalPosition p3,
char character) |
|
TextGraphics |
TextGUIGraphics.fillTriangle(TerminalPosition p1,
TerminalPosition p2,
TerminalPosition p3,
TextCharacter character) |
|
TextGraphics |
TextGUIGraphics.putCSIStyledString(int column,
int row,
String string) |
|
TextGraphics |
TextGUIGraphics.putCSIStyledString(TerminalPosition position,
String string) |
|
TextGraphics |
TextGUIGraphics.putString(int column,
int row,
String string,
Collection<SGR> extraModifiers) |
|
TextGraphics |
TextGUIGraphics.setCharacter(int column,
int row,
char character) |
|
TextGraphics |
TextGUIGraphics.setCharacter(int column,
int row,
TextCharacter character) |
|
TextGraphics |
TextGUIGraphics.setCharacter(TerminalPosition position,
char character) |
|
TextGraphics |
TextGUIGraphics.setCharacter(TerminalPosition position,
TextCharacter character) |
|
TextGraphics |
TextGUIGraphics.setStyleFrom(StyleSet<?> source) |
Modifier and Type | Method | Description |
---|---|---|
static void |
Borders.joinLinesWithFrame(TextGraphics graphics) |
This method will attempt to join line drawing characters with the outermost bottom and top rows and left and
right columns.
|
Modifier and Type | Method | Description |
---|---|---|
TextGraphics |
AbstractScreen.newTextGraphics() |
|
TextGraphics |
Screen.newTextGraphics() |
Creates a new TextGraphics objects that is targeting this Screen for writing to.
|
TextGraphics |
ScreenBuffer.newTextGraphics() |
Modifier and Type | Method | Description |
---|---|---|
void |
VirtualScreen.FrameRenderer.drawFrame(TextGraphics graphics,
TerminalSize realSize,
TerminalSize virtualSize,
TerminalPosition virtualScrollPosition) |
Drawn the 'frame', meaning anything that is outside the viewport (title, scrollbar, etc)
|
Modifier and Type | Method | Description |
---|---|---|
TextGraphics |
AbstractTerminal.newTextGraphics() |
|
TextGraphics |
IOSafeTerminalAdapter.newTextGraphics() |
|
TextGraphics |
Terminal.newTextGraphics() |
Creates a new TextGraphics object that uses this Terminal directly when outputting.
|
Modifier and Type | Method | Description |
---|---|---|
TextGraphics |
AWTTerminal.newTextGraphics() |
|
TextGraphics |
AWTTerminalFrame.newTextGraphics() |
|
TextGraphics |
ScrollingAWTTerminal.newTextGraphics() |
|
TextGraphics |
ScrollingSwingTerminal.newTextGraphics() |
|
TextGraphics |
SwingTerminal.newTextGraphics() |
|
TextGraphics |
SwingTerminalFrame.newTextGraphics() |
Modifier and Type | Method | Description |
---|---|---|
TextGraphics |
DefaultVirtualTerminal.newTextGraphics() |
Copyright © 2020. All rights reserved.