View

open external class View(source)

Inheritors

Constructors

Link copied to clipboard
constructor()

View

Properties

Link copied to clipboard
open val boundsChangedEvent: <Error class: unknown class><<Error class: unknown class>>
Link copied to clipboard
val children: <Error class: unknown class><View>

A View[] property representing the child views of this view.

Functions

Link copied to clipboard
fun addChildView(view: View, index: Double = definedExternally)

If the same View is added to a parent which already contains it, it will be reordered such that it becomes the topmost view.

Link copied to clipboard

The bounds of this View, relative to its parent.

Link copied to clipboard

If the view passed as a parameter is not a child of this view, this method is a no-op.

Link copied to clipboard

Examples of valid color values:

Link copied to clipboard
fun setBorderRadius(radius: Double)

Note: The area cutout of the view's border still captures clicks.

Link copied to clipboard
fun setBounds(bounds: Rectangle)
Link copied to clipboard
fun setVisible(visible: Boolean)