ComponentDecorationRenderer

A ComponentDecorationRenderer is responsible for rendering decorations for a given component.

Types

RenderingMode
Link copied to clipboard
common
When in INTERACTIVE mode the component decorations will react to ComponentStates.

Functions

equals
Link copied to clipboard
common
open operator fun equals(other: Any?): Boolean
hashCode
Link copied to clipboard
common
open fun hashCode(): Int
render
Link copied to clipboard
common
abstract fun render(tileGraphics: TileGraphics, context: ComponentDecorationRenderContext)
Renders the decoration to the given TileGraphics.
toString
Link copied to clipboard
common
open fun toString(): String

Properties

occupiedSize
Link copied to clipboard
common
abstract val occupiedSize: Size
The Size this resulting decoration will occupy.
offset
Link copied to clipboard
common
abstract val offset: Position
The Position this renderer offsets the rendering.

Inheritors

BorderDecorationRenderer
Link copied to clipboard
BoxDecorationRenderer
Link copied to clipboard
HalfBlockDecorationRenderer
Link copied to clipboard
PaddingDecorationRenderer
Link copied to clipboard
ShadowDecorationRenderer
Link copied to clipboard
SideDecorationRenderer
Link copied to clipboard

Sources

(source)
Link copied to clipboard