ComponentsLayerable

class ComponentsLayerable(componentContainer: InternalComponentContainer, layerable: InternalLayerable) : InternalLayerable

Extends a InternalLayerable with additional renderables taken form an InternalComponentContainer to enable smooth rendering of both.

Constructors

ComponentsLayerable
Link copied to clipboard
common
fun ComponentsLayerable(componentContainer: InternalComponentContainer, layerable: InternalLayerable)

Functions

addLayer
Link copied to clipboard
common
open override fun addLayer(layer: Layer): LayerHandle
Adds a layer on top of the currently present layers.
equals
Link copied to clipboard
common
open operator fun equals(other: Any?): Boolean
getLayerAt
Link copied to clipboard
common
open override fun getLayerAt(level: Int): Maybe<LayerHandle>
Returns the Layer at the given level (if present).
hashCode
Link copied to clipboard
common
open fun hashCode(): Int
insertLayerAt
Link copied to clipboard
common
open override fun insertLayerAt(level: Int, layer: Layer): LayerHandle
Inserts the given Layer into this Layerable at the given level.
removeLayer
Link copied to clipboard
common
open override fun removeLayer(layer: Layer): Boolean
setLayerAt
Link copied to clipboard
common
open override fun setLayerAt(level: Int, layer: Layer): LayerHandle
Sets the given Layer in this Layerable at the given level.
toString
Link copied to clipboard
common
open fun toString(): String

Properties

layers
Link copied to clipboard
common
open override val layers: ObservableList<out InternalLayer>
renderables
Link copied to clipboard
common
open override val renderables: List<Renderable>
Contains the Renderable objects ordered from bottom to top.
size
Link copied to clipboard
common
open override val size: Size
The area this Layerable covers.

Sources

(source)
Link copied to clipboard