WritableImage

scalafx.scene.image.WritableImage
See theWritableImage companion object
class WritableImage(val delegate: WritableImage) extends Image, SFXDelegate[WritableImage]

Attributes

Companion
object
Graph
Supertypes
class Image
trait SFXDelegate[WritableImage]
class Object
trait Matchable
class Any

Members list

Value members

Constructors

def this(width: Int, height: Int)

Construct an empty image of the specified dimensions.

Construct an empty image of the specified dimensions.

Attributes

def this(reader: PixelReader, width: Int, height: Int)

Construct an image of the specified dimensions, initialized from the indicated scalafx.scene.image.PixelReader.

Construct an image of the specified dimensions, initialized from the indicated scalafx.scene.image.PixelReader.

Attributes

def this(reader: PixelReader, x: Int, y: Int, width: Int, height: Int)

Construct an image of the specified dimensions, initialized from the indicated region of the scalafx.scene.image.PixelReader.

Construct an image of the specified dimensions, initialized from the indicated region of the scalafx.scene.image.PixelReader.

Attributes

Concrete methods

This method returns a PixelWriter that provides access to write the pixels of the image.

This method returns a PixelWriter that provides access to write the pixels of the image.

Attributes

Deprecated methods

Attributes

Deprecated
true

Inherited methods

Indicates whether the image is being loaded in the background.

Indicates whether the image is being loaded in the background.

Attributes

Inherited from:
Image
def cancel(): Unit

Cancels the background loading of this image.

Cancels the background loading of this image.

Attributes

Inherited from:
Image
override def equals(ref: Any): Boolean

Verifies if a object is equals to this delegate.

Verifies if a object is equals to this delegate.

Value parameters

ref

Object to be compared.

Attributes

Returns

if the other object is equals to this delegate or not.

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate

Indicates whether an error was detected while loading an image.

Indicates whether an error was detected while loading an image.

Attributes

Inherited from:
Image

The exception which caused image loading to fail.

The exception which caused image loading to fail.

Attributes

Inherited from:
Image
override def hashCode: Int

Attributes

Returns

The delegate hashcode

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate

The image height or 0 if the image loading fails.

The image height or 0 if the image loading fails.

Attributes

Inherited from:
Image

This method returns a Option of scalafx.scene.image.PixelReader that provides access to read the pixels of the image, if the image is readable.

This method returns a Option of scalafx.scene.image.PixelReader that provides access to read the pixels of the image, if the image is readable.

Attributes

Inherited from:
Image

Indicates whether to preserve the aspect ratio of the original image when scaling to fit the image within the bounding box provided by width and height.

Indicates whether to preserve the aspect ratio of the original image when scaling to fit the image within the bounding box provided by width and height.

Attributes

Inherited from:
Image

The approximate percentage of image's loading that has been completed.

The approximate percentage of image's loading that has been completed.

Attributes

Inherited from:
Image

Indicates whether to use a better quality filtering algorithm or a faster one when scaling this image to fit within the bounding box provided by width and height.

Indicates whether to use a better quality filtering algorithm or a faster one when scaling this image to fit within the bounding box provided by width and height.

Attributes

Inherited from:
Image
override def toString: String

Attributes

Returns

Returns the original delegate's toString() adding a [SFX] prefix.

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate

The image width or 0 if the image loading fails.

The image width or 0 if the image loading fails.

Attributes

Inherited from:
Image

Concrete fields

override val delegate: WritableImage

JavaFX object to be wrapped.

JavaFX object to be wrapped.

Attributes