Type

scalafx.scene.image.PixelFormat.Type
See theType companion class
object Type extends SFXEnumDelegateCompanion[Type, Type]

Attributes

Companion
class
Graph
Supertypes
trait Sum
trait Mirror
class Object
trait Matchable
class Any
Show all
Self type
Type.type

Members list

Type members

Classlikes

case object ByteBGRA extends Type

The pixels are stored in adjacent bytes with the non-premultiplied components stored in order of increasing index: blue, green, red, alpha.

The pixels are stored in adjacent bytes with the non-premultiplied components stored in order of increasing index: blue, green, red, alpha.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Type
trait SFXEnumDelegate[Type]
trait SFXDelegate[Type]
class Object
trait Matchable
class Any
Show all
Self type
ByteBGRA.type
case object ByteBRGAPre extends Type

The pixels are stored in adjacent bytes with the premultiplied components stored in order of increasing index: blue, green, red, alpha.

The pixels are stored in adjacent bytes with the premultiplied components stored in order of increasing index: blue, green, red, alpha.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Type
trait SFXEnumDelegate[Type]
trait SFXDelegate[Type]
class Object
trait Matchable
class Any
Show all
Self type
case object ByteIndexed extends Type

The pixel colors are referenced by byte indices stored in the pixel array, with the byte interpreted as an unsigned index into a list of colors provided by the PixelFormat object.

The pixel colors are referenced by byte indices stored in the pixel array, with the byte interpreted as an unsigned index into a list of colors provided by the PixelFormat object.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Type
trait SFXEnumDelegate[Type]
trait SFXDelegate[Type]
class Object
trait Matchable
class Any
Show all
Self type
case object ByteRGB extends Type

The opaque pixels are stored in adjacent bytes with the color components stored in order of increasing index: red, green, blue.

The opaque pixels are stored in adjacent bytes with the color components stored in order of increasing index: red, green, blue.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Type
trait SFXEnumDelegate[Type]
trait SFXDelegate[Type]
class Object
trait Matchable
class Any
Show all
Self type
ByteRGB.type
case object IntARGB extends Type

The pixels are stored in 32-bit integers with the non-premultiplied components stored in order, from MSb to LSb: alpha, red, green, blue.

The pixels are stored in 32-bit integers with the non-premultiplied components stored in order, from MSb to LSb: alpha, red, green, blue.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Type
trait SFXEnumDelegate[Type]
trait SFXDelegate[Type]
class Object
trait Matchable
class Any
Show all
Self type
IntARGB.type
case object IntARGBPre extends Type

The pixels are stored in 32-bit integers with the premultiplied components stored in order, from MSb to LSb: alpha, red, green, blue.

The pixels are stored in 32-bit integers with the premultiplied components stored in order, from MSb to LSb: alpha, red, green, blue.

Attributes

Supertypes
trait Singleton
trait Product
trait Mirror
trait Serializable
trait Product
trait Equals
class Type
trait SFXEnumDelegate[Type]
trait SFXDelegate[Type]
class Object
trait Matchable
class Any
Show all
Self type
IntARGBPre.type

Inherited types

type MirroredElemLabels <: Tuple

The names of the product elements

The names of the product elements

Attributes

Inherited from:
Mirror

The name of the type

The name of the type

Attributes

Inherited from:
Mirror

Value members

Inherited methods

def apply(e: Type): S

Converts a JavaFX enum to its respective SFXEnumDelegate.

Converts a JavaFX enum to its respective SFXEnumDelegate.

Value parameters

e

JavaFX enum

Attributes

Returns

[[scalafx.delegate.SFXEnumDelegate]] equivalent to argument.

Inherited from:
SFXEnumDelegateCompanion
def apply(name: String): S

Returns the enum constant of this type with the specified name.

Returns the enum constant of this type with the specified name.

Value parameters

name

the name of the constant to return

Attributes

Throws
IllegalArgumentException

If the specified enum type has no constant with the specified name, or the specified class object does not represent an enum type.

Inherited from:
SFXEnumDelegateCompanion
def jfxEnum2sfx(e: Type): S

Converts a JavaFX enum to its respective SFXEnumDelegate.

Converts a JavaFX enum to its respective SFXEnumDelegate.

Value parameters

e

JavaFX enum

Attributes

Returns

[[scalafx.delegate.SFXEnumDelegate]] equivalent to argument.

Inherited from:
SFXEnumDelegateCompanion

Deprecated fields

Attributes

Deprecated
true

Attributes

Deprecated
true

Attributes

Deprecated
true
val BYTE_RGB: Type

Attributes

Deprecated
true
val INT_ARGB: Type

Attributes

Deprecated
true

Attributes

Deprecated
true

Inherited fields

lazy val values: List[Type]

Returns a List containing the constants of this enum type, in the order they are declared.

Returns a List containing the constants of this enum type, in the order they are declared.

Attributes

Inherited from:
SFXEnumDelegateCompanion

Implicits

Inherited implicits

implicit def sfxEnum2jfx(s: Type): E

Converts a SFXEnumDelegate to its respective JavaFX Enum.

Converts a SFXEnumDelegate to its respective JavaFX Enum.

Value parameters

s

SFXEnumDelegate instance

Attributes

Returns

Delegated enum

Inherited from:
SFXEnumDelegateCompanion