kvision / pl.treksoft.kvision.core / Border / <init>

<init>

Border(width: CssSize? = null, style: BorderStyle? = null)

Creates CSS Border with given width and style.

Parameters

width - width of the border

style - style of the border

Border(width: CssSize? = null, style: BorderStyle? = null, color: Int)

Creates CSS Border with given width, style and color given in hex format.

Parameters

width - width of the border

style - style of the border

color - color in hex format

Border(width: CssSize? = null, style: BorderStyle? = null, color: Col)

Creates CSS Border with given width, style and color given with named constant.

Parameters

width - width of the border

style - style of the border

color - color named constant