BoxDecorationRenderer

data class BoxDecorationRenderer(boxType: BoxType, titleProperty: Property<String>, renderingMode: ComponentDecorationRenderer.RenderingMode) : ComponentDecorationRenderer

Functions

component1
Link copied to clipboard
common
operator fun component1(): BoxType
copy
Link copied to clipboard
common
fun copy(boxType: BoxType = BoxType.SINGLE, titleProperty: Property<String> = createPropertyFrom(""), renderingMode: ComponentDecorationRenderer.RenderingMode = NON_INTERACTIVE): BoxDecorationRenderer
equals
Link copied to clipboard
common
open operator override fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open override fun hashCode(): Int
render
Link copied to clipboard
common
open override fun render(tileGraphics: TileGraphics, context: ComponentDecorationRenderContext)
Renders the decoration to the given TileGraphics.
toString
Link copied to clipboard
common
open override fun toString(): String

Properties

boxType
Link copied to clipboard
common
val boxType: BoxType
occupiedSize
Link copied to clipboard
common
open override val occupiedSize: Size
The Size this resulting decoration will occupy.
offset
Link copied to clipboard
common
open override val offset: Position
The Position this renderer offsets the rendering.
title
Link copied to clipboard
common
val title: String

Sources

(source)
Link copied to clipboard