public interface TA_Corner extends IsTextArt
Corner tuple (top left, top right, bottom left, bottom right).
| Modifier and Type | Field and Description |
|---|---|
static int |
MODE_BOTTOM_LEFT
Mode for processing the bottom left corner.
|
static int |
MODE_BOTTOM_RIGHT
Mode for processing the bottom right corner.
|
static int |
MODE_TOP_LEFT
Mode for processing the top left corner.
|
static int |
MODE_TOP_RIGHT
Mode for processing the top right corner.
|
| Modifier and Type | Method and Description |
|---|---|
default StrBuilder |
getCorner(int mode)
Returns the corner.
|
StrBuilder |
getCorner(int mode,
StrBuilder builder)
Returns the corner.
|
default String |
getCornerAsString(int mode)
Returns the corner.
|
default String |
getCornerAsString(int mode,
StrBuilder builder)
Returns the corner.
|
static final int MODE_TOP_LEFT
Mode for processing the top left corner.
static final int MODE_TOP_RIGHT
Mode for processing the top right corner.
static final int MODE_BOTTOM_LEFT
Mode for processing the bottom left corner.
static final int MODE_BOTTOM_RIGHT
Mode for processing the bottom right corner.
default StrBuilder getCorner(int mode)
Returns the corner.
mode - the mode for processing a corner (use one of MODE_TOP_LEFT, MODE_TOP_RIGHT, MODE_BOTTOM_LEFT, MODE_BOTTOM_RIGHT)StrBuilder getCorner(int mode,
StrBuilder builder)
Returns the corner.
mode - the mode for processing a corner (use one of MODE_TOP_LEFT, MODE_TOP_RIGHT, MODE_BOTTOM_LEFT, MODE_BOTTOM_RIGHT)builder - builder to append the corner to, new builder will be created if nulldefault String getCornerAsString(int mode)
Returns the corner.
mode - the mode for processing a corner (use one of MODE_TOP_LEFT, MODE_TOP_RIGHT, MODE_BOTTOM_LEFT, MODE_BOTTOM_RIGHT)default String getCornerAsString(int mode, StrBuilder builder)
Returns the corner.
mode - the mode for processing a corner (use one of MODE_TOP_LEFT, MODE_TOP_RIGHT, MODE_BOTTOM_LEFT, MODE_BOTTOM_RIGHT)builder - builder to append the corner to, new builder will be created if nullCopyright © 2016–2017. All rights reserved.