Background Entity
data class BackgroundEntity(val namespace: String? = null, val basename: String? = null, val left: String? = null, val center: String? = null, val right: String? = null, val padding: BackgroundPadding = BackgroundPadding())(source)
Measured three-slice text background: left cap, generated center widths, and right cap.
Functions
Link copied to clipboard
fun buildString(plainText: String, textWidth: Int, y: Int, anchor: GuiAnchor? = null, x: Int = 0, override: BackgroundPaddingOverride? = null): String
Builds a zero-advance background around the measured text width without moving the text.
Link copied to clipboard
Installs prepared center slices during configuration loading.
Link copied to clipboard
Link copied to clipboard