Border

scalafx.scene.layout.Border
See theBorder companion class
object Border

Attributes

Companion
class
Graph
Supertypes
class Object
trait Matchable
class Any
Self type
Border.type

Members list

Value members

Concrete methods

def stroke(s: Paint): Border

A convenience factory method for creating a solid Border with a single Paint.

A convenience factory method for creating a solid Border with a single Paint.

This call is equivalent to new Border(new BorderStroke(stroke, BorderStrokeStyle.Solid, null, null)).

Value parameters

s

the stroke of the border (for all sides). If null, Color.Black will be used.

Attributes

Returns

a new border of the given stroke

Since

18.0.0

Concrete fields

val Empty: Border

An empty Border, useful to use instead of null.

An empty Border, useful to use instead of null.

Attributes

Deprecated fields

val EMPTY: Border

Attributes

Deprecated
true

Implicits

Implicits

implicit def sfxBorder2jfx(v: Border): Border