PixelWriter

scalafx.scene.image.PixelWriter
See thePixelWriter companion object
trait PixelWriter extends SFXDelegate[PixelWriter]

Attributes

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

Members list

Value members

Concrete methods

This method returns the PixelFormat in which the surface stores its pixels, or a roughly equivalent pixel format from which it can easily convert pixels for purposes of writing them.

This method returns the PixelFormat in which the surface stores its pixels, or a roughly equivalent pixel format from which it can easily convert pixels for purposes of writing them.

Attributes

def setArgb(x: Int, y: Int, argb: Int): Unit

Stores pixel data for a color into the specified coordinates of the surface.

Stores pixel data for a color into the specified coordinates of the surface.

Attributes

def setColor(x: Int, y: Int, c: Color): Unit

Stores pixel data for a Color into the specified coordinates of the surface.

Stores pixel data for a Color into the specified coordinates of the surface.

Attributes

def setPixels(x: Int, y: Int, w: Int, h: Int, pixelformat: PixelFormat[ByteBuffer], buffer: Array[Byte], offset: Int, scanlineStride: Int): Unit

Stores pixel data from a byte array into a rectangular region of the surface.

Stores pixel data from a byte array into a rectangular region of the surface.

Attributes

def setPixels(x: Int, y: Int, w: Int, h: Int, pixelformat: PixelFormat[IntBuffer], buffer: Array[Int], offset: Int, scanlineStride: Int): Unit

Stores pixel data from an int array into a rectangular region of the surface.

Stores pixel data from an int array into a rectangular region of the surface.

Attributes

def setPixels[B <: Buffer](x: Int, y: Int, w: Int, h: Int, pixelformat: PixelFormat[B], buffer: B, scanlineStride: Int): Unit

Stores pixel data from a buffer into a rectangular region of the surface.

Stores pixel data from a buffer into a rectangular region of the surface.

Attributes

def setPixels(dstx: Int, dsty: Int, w: Int, h: Int, reader: PixelReader, srcx: Int, srcy: Int): Unit

Stores pixel data retrieved from a PixelReader instance into a rectangular region of the surface.

Stores pixel data retrieved from a PixelReader instance into a rectangular region of the surface.

Attributes

Inherited methods

def delegate: D

JavaFX object to be wrapped.

JavaFX object to be wrapped.

Attributes

Inherited from:
SFXDelegate
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
override def hashCode: Int

Attributes

Returns

The delegate hashcode

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate
override def toString: String

Attributes

Returns

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

Definition Classes
SFXDelegate -> Any
Inherited from:
SFXDelegate