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: COLOR)

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