PaintIncludes

scalafx.scene.paint.PaintIncludes
See thePaintIncludes companion trait
object PaintIncludes extends PaintIncludes

Attributes

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

Members list

Implicits

Inherited implicits

implicit def hex2jfxColor(h: Int): Color

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.

Inherited from:
PaintIncludes
implicit def hex2sfxColor(h: Int): Color

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.

Inherited from:
PaintIncludes
implicit def jfxColor2sfx(c: Color): Color

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

Inherited from:
PaintIncludes
implicit def jfxCycleMethod2sfx(e: CycleMethod): CycleMethod

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

Inherited from:
PaintIncludes
implicit def jfxLinearGradient2sfx(lg: LinearGradient): LinearGradient

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

Inherited from:
PaintIncludes
implicit def jfxPaint2sfx(p: Paint): Paint

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

Inherited from:
PaintIncludes
implicit def jfxPhongMaterial2sfx(pm: PhongMaterial): PhongMaterial

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

Inherited from:
PaintIncludes
implicit def jfxRadialGradient2sfx(rg: RadialGradient): RadialGradient

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

Inherited from:
PaintIncludes
implicit def jfxStop2sfx(c: Stop): Stop

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

Inherited from:
PaintIncludes
implicit def string2jfxColor(s: String): Color

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

Inherited from:
PaintIncludes
implicit def string2sfxColor(s: String): Color

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

Inherited from:
PaintIncludes
implicit def tuple32JfxColor(tuple: (Int, Int, Int)): Color

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.

Inherited from:
PaintIncludes
implicit def tuple32SfxColor(tuple: (Int, Int, Int)): Color

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.

Inherited from:
PaintIncludes
implicit def tuple42JfxColor(tuple: (Int, Int, Int, Double)): Color

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.

Inherited from:
PaintIncludes
implicit def tuple42SfxColor(tuple: (Int, Int, Int, Double)): Color

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.

Inherited from:
PaintIncludes