Border

interface Border

A drawn border, around a Region.

Unlike JavaFX, Border is an interface with many implementations. NoBorder (the default) and PlainBorder are the simplest.

Inheritors

Functions

Link copied to clipboard
open fun draw(node: Node, size: Edges)

abstract fun draw(x: Float, y: Float, width: Float, height: Float, size: Edges)

Draw just the border, not the area within it. However, if implementations wish to draw the inside area too, that's ok.