LayeredComponent

open class LayeredComponent(back: Component, front: Component, padding: Insets = Insets.Zero, margins: Insets = Insets.Zero) : Component

Draws two Components on top of each other.

Constructors

Link copied to clipboard
constructor(back: Component, front: Component, padding: Insets = Insets.Zero, margins: Insets = Insets.Zero)

Functions

Link copied to clipboard
open override fun draw(context: DrawingContext, left: Float, top: Float, right: Float, bottom: Float)

Instructs the Component to draw itself at the given coordinates.

Link copied to clipboard
open operator override fun equals(other: Any?): Boolean
Link copied to clipboard
open override fun hashCode(): Int