SingleLayerVisual

sealed class SingleLayerVisual : Visual

Baseclass for single layer visuals.

Functions

Link copied to clipboard
fun addListener(listener: Observer)

Adds a listener silently.

Link copied to clipboard
fun addListenerAndInvoke(listener: Observer)

Adds a listener and calls Observer.update on this new listener.

Link copied to clipboard
fun clearListeners()

Removes all listeners.

Link copied to clipboard
abstract fun copy(): Visual

Copies this Visual to a new object.

Link copied to clipboard
fun notifyChange()

Notifies all listeners by calling Observer.update.

Link copied to clipboard
fun removeListener(listener: Observer): Boolean

Removes a listener.

Properties

Link copied to clipboard
open var backgroundRadius: BackgroundRadius?

Background radius.

Link copied to clipboard
var backgroundRadiusProperty: Property<BackgroundRadius?>

Property for backgroundRadius.

Link copied to clipboard
open var borderColor: BorderColor?

Border color.

Link copied to clipboard
var borderColorProperty: Property<BorderColor?>

Property for borderColor.

Link copied to clipboard
open var borderRadius: BorderRadius?

Border radius.

Link copied to clipboard
var borderRadiusProperty: Property<BorderRadius?>

Property for borderRadius.

Link copied to clipboard
open var borderStyle: BorderStyle?

Border style.

Link copied to clipboard
var borderStyleProperty: Property<BorderStyle?>

Property for borderStyle.

Link copied to clipboard
open var borderWidth: BorderWidth?

Border width.

Link copied to clipboard
var borderWidthProperty: Property<BorderWidth?>

Property for borderWidth.

Link copied to clipboard
open var cursor: Cursor?

Cursor.

Link copied to clipboard
var cursorProperty: Property<Cursor?>

Property for cursor.

Link copied to clipboard
var style: String

Css style that gets applied to this Visual.

Link copied to clipboard
val styleProperty: StringProperty

Property for the css style that gets applied to this Visual.

Link copied to clipboard
var transparency: Double

The transparency / alpha channel for this Visual.

Link copied to clipboard
val transparencyProperty: LimitedDoubleProperty

Property for the transparency / alpha channel for this Visual.

Inheritors

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard