Component Decorations
object ComponentDecorations
Content copied to clipboard
This object contains functions for creating component decorations.
Functions
border
Link copied to clipboard
@JvmOverloads()
@JvmStatic()
Content copied to clipboard
Can be used to draw a border around a Component.
box
Link copied to clipboard
@JvmOverloads()
@JvmStatic()
Content copied to clipboard
Can be used to draw a box (using box drawing characters) around a Component.
halfBlock
Link copied to clipboard
@JvmOverloads()
@JvmStatic()
Content copied to clipboard
Can be used to add a half box decoration (half-height "border") to a Component.
side
Link copied to clipboard
@JvmOverloads()
@JvmStatic()
Content copied to clipboard
Wraps a Component on the left and the right sides with the given leftSideCharacter and rightSideCharacter.
Sources
(source)
Link copied to clipboard