Contains implcit methods to convert from `javafx.scene.paint` Classes/Traits to their ScalaFX counterparts.
Attributes
- Companion
- object
- Graph
-
- Supertypes
-
class Objecttrait Matchableclass Any
- Known subtypes
-
object PaintIncludes.typetrait SceneIncludesobject SceneIncludes.typetrait Includesobject Includes.type
Members list
Implicits
Implicits
Converts a Interger (preferentially in a Hexadecinal format) to a JavaFX Color. See JavaFX's Color.rgb()
for more details.
Converts a Interger (preferentially in a Hexadecinal format) to a JavaFX Color. See JavaFX's Color.rgb()
for more details.
Value parameters
- h
-
Number to be converted
Attributes
- Returns
-
JavaFX Color correspondent to Number.
Converts a Interger (preferentially in a Hexadecinal format) to a ScalaFX Color. See JavaFX's Color.rgb()
for more details.
Converts a Interger (preferentially in a Hexadecinal format) to a ScalaFX Color. See JavaFX's Color.rgb()
for more details.
Value parameters
- h
-
Number to be converted
Attributes
- Returns
-
ScalaFX Color correspondent to Number.
Converts a JavaFX [[http://docs.oracle.com/javase/8/javafx/api/javafx/scene/paint/Color.html Color]]
instance to its ScalaFX counterpart.
Converts a JavaFX [[http://docs.oracle.com/javase/8/javafx/api/javafx/scene/paint/Color.html Color]]
instance to its ScalaFX counterpart.
Value parameters
- c
-
JavaFX Color
Attributes
- Returns
-
ScalaFX Color
Converts a JavaFX [[http://docs.oracle.com/javase/8/javafx/api/javafx/scene/paint/CycleMethod.html CycleMethod]]
instance to its ScalaFX counterpart.
Converts a JavaFX [[http://docs.oracle.com/javase/8/javafx/api/javafx/scene/paint/CycleMethod.html CycleMethod]]
instance to its ScalaFX counterpart.
Value parameters
- e
-
JavaFX CycleMethod
Attributes
- Returns
-
ScalaFX CycleMethod
Converts a JavaFX [[http://docs.oracle.com/javase/8/javafx/api/javafx/scene/paint/LinearGradient.html LinearGradient]]
instance to its ScalaFX counterpart.
Converts a JavaFX [[http://docs.oracle.com/javase/8/javafx/api/javafx/scene/paint/LinearGradient.html LinearGradient]]
instance to its ScalaFX counterpart.
Value parameters
- lg
-
JavaFX LinearGradient
Attributes
- Returns
-
ScalaFX LinearGradient
Converts a JavaFX [[http://docs.oracle.com/javase/8/javafx/api/javafx/scene/paint/Paint.html Paint]]
instance to its ScalaFX counterpart.
Converts a JavaFX [[http://docs.oracle.com/javase/8/javafx/api/javafx/scene/paint/Paint.html Paint]]
instance to its ScalaFX counterpart.
Value parameters
- p
-
JavaFX Paint
Attributes
- Returns
-
ScalaFX Paint
Converts a JavaFX [[http://docs.oracle.com/javase/8/javafx/api/javafx/scene/paint/PhongMaterial.html PhongMaterial]]
instance to its ScalaFX counterpart.
Converts a JavaFX [[http://docs.oracle.com/javase/8/javafx/api/javafx/scene/paint/PhongMaterial.html PhongMaterial]]
instance to its ScalaFX counterpart.
Value parameters
- pm
-
JavaFX PhongMaterial
Attributes
- Returns
-
ScalaFX PhongMaterial
Converts a JavaFX [[http://docs.oracle.com/javase/8/javafx/api/javafx/scene/paint/RadialGradient.html RadialGradient]]
instance to its ScalaFX counterpart.
Converts a JavaFX [[http://docs.oracle.com/javase/8/javafx/api/javafx/scene/paint/RadialGradient.html RadialGradient]]
instance to its ScalaFX counterpart.
Value parameters
- rg
-
JavaFX RadialGradient
Attributes
- Returns
-
ScalaFX RadialGradient
Converts a JavaFX [[http://docs.oracle.com/javase/8/javafx/api/javafx/scene/paint/Stop.html Stop]]
instance to its ScalaFX counterpart.
Converts a JavaFX [[http://docs.oracle.com/javase/8/javafx/api/javafx/scene/paint/Stop.html Stop]]
instance to its ScalaFX counterpart.
Value parameters
- c
-
JavaFX Stop
Attributes
- Returns
-
ScalaFX Stop
Converts an HTML or CSS attribute string to a JavaFX Color. See JavaFX's Color.web()
for more details.
Converts an HTML or CSS attribute string to a JavaFX Color. See JavaFX's Color.web()
for more details.
Value parameters
- s
-
The name or numeric representation of the color in one of the supported formats
Attributes
- Returns
-
JavaFX Color correspondent to argument
Converts an HTML or CSS attribute string to a ScalaFX Color. See JavaFX's Color.web()
for more details.
Converts an HTML or CSS attribute string to a ScalaFX Color. See JavaFX's Color.web()
for more details.
Value parameters
- s
-
The name or numeric representation of the color in one of the supported formats
Attributes
- Returns
-
ScalaFX Color correspondent to argument
Converts a tuple of 3 Integers to a JavaFX Color.
Converts a tuple of 3 Integers to a JavaFX Color.
Value parameters
- tuple
-
A tuple of 3 Integers (all of them must be lesser than 256) correspondent respectively to red, green and blue components of desired Color
Attributes
- Returns
-
Color correspondent to Tuple.
Converts a tuple of 3 Integers to a ScalaFX Color.
Converts a tuple of 3 Integers to a ScalaFX Color.
Value parameters
- tuple
-
A tuple of 3 Integers (all of them must be lesser than 256) correspondent respectively to red, green and blue components of desired Color
Attributes
- Returns
-
Color correspondent to Tuple.
Converts a tuple of 3 Integers and a double to a JavaFX Color.
Converts a tuple of 3 Integers and a double to a JavaFX Color.
Value parameters
- tuple
-
A tuple of 3 Integers (all of them must be lesser than 256) and a Double (lesser than 1.0) correspondent respectively to red, green, blue and opacity components of desired Color
Attributes
- Returns
-
Color correspondent to Tuple.
Converts a tuple of 3 Integers and a double to a ScalaFX Color.
Converts a tuple of 3 Integers and a double to a ScalaFX Color.
Value parameters
- tuple
-
A tuple of 3 Integers (all of them must be lesser than 256) and a Double (lesser than 1.0) correspondent respectively to red, green, blue and opacity components of desired Color
Attributes
- Returns
-
Color correspondent to Tuple.