PixelWriter

trait PixelWriter extends SFXDelegate[PixelWriter]
trait SFXDelegate[PixelWriter]
class Object
trait Matchable
class Any

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.

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.

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.

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.

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.

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.

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.

Inherited methods

def delegate: PixelWriter

JavaFX object to be wrapped.

JavaFX object to be wrapped.

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 Params
ref

Object to be compared.

Returns

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

Definition Classes
Inherited from
SFXDelegate
override def hashCode: Int
Returns

The delegate hashcode

Definition Classes
Inherited from
SFXDelegate
override def toString: String
Returns

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

Definition Classes
Inherited from
SFXDelegate