tornadofx / tornadofx / javafx.scene.paint.Paint / asBackground

asBackground

fun Paint.asBackground(radii: CornerRadii = CornerRadii.EMPTY, insets: Insets = Insets.EMPTY): Background

Converts the given Paint to a Background