scalafx.scene.layout.Border
See theBorder companion class
Attributes
-
Companion
-
class
-
Graph
-
-
Supertypes
-
class Object
trait Matchable
class Any
-
Self type
-
Members list
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
An empty Border, useful to use instead of null.
An empty Border, useful to use instead of null.
Attributes
Attributes
-
Deprecated
-
true