PaddingDecorationRenderer

data class PaddingDecorationRenderer(top: Int, right: Int, bottom: Int, left: Int, renderingMode: ComponentDecorationRenderer.RenderingMode) : ComponentDecorationRenderer

Functions

component1
Link copied to clipboard
common
operator fun component1(): Int
component2
Link copied to clipboard
common
operator fun component2(): Int
component3
Link copied to clipboard
common
operator fun component3(): Int
component4
Link copied to clipboard
common
operator fun component4(): Int
copy
Link copied to clipboard
common
fun copy(top: Int, right: Int, bottom: Int, left: Int, renderingMode: ComponentDecorationRenderer.RenderingMode = NON_INTERACTIVE): PaddingDecorationRenderer
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

bottom
Link copied to clipboard
common
val bottom: Int
left
Link copied to clipboard
common
val left: Int
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.
right
Link copied to clipboard
common
val right: Int
top
Link copied to clipboard
common
val top: Int

Sources

(source)
Link copied to clipboard