LineBuilder

Supporting class to add line border with DSL.

Functions

Link copied to clipboard
fun color(top: Color, right: Color, bottom: Color, left: Color)

Specifies that the wrapped Node should be wrapped with the given colours for each of its four sides.

Link copied to clipboard
open override fun innerPadding(top: Double, right: Double, bottom: Double, left: Double)

Specifies that the line wrapping the node should have inner padding as specified.

Link copied to clipboard
open override fun outerPadding(top: Double, right: Double, bottom: Double, left: Double)

Specifies that the line wrapping the node should have outer padding as specified.

Link copied to clipboard
open override fun radius(top: Double, right: Double, bottom: Double, left: Double)

Specifies that the line wrapping the node should have corner radii as specified.

Link copied to clipboard
fun thickness(top: Double, right: Double, bottom: Double, left: Double)

Specifies that the wrapped Node should be wrapped with the given line thickness for each of its four sides.

Properties

Link copied to clipboard
var color: Color

Specifies the colour to use for all four sides of this border.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override var innerPadding: Double

Specifies the inner padding of the four lines of this border.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override var outerPadding: Double

Specifies the outer padding of the four lines of this border.

Link copied to clipboard
Link copied to clipboard
Link copied to clipboard
open override var radius: Double

Specifies the radius of the four corners of the line of this border.

Link copied to clipboard
var strokeStyle: BorderStrokeStyle

Specifies which {@link BorderStrokeStyle} to use for this line border.

Link copied to clipboard

Specifies the thickness of the line to use on all four sides of this border.

Link copied to clipboard
open override var title: String

If desired, this specifies the title text to show in this border.