APIdia Launch Partner
Top Constructors Methods
com.sun.javafx.image

public Class PixelUtils

extends Object
Class Inheritance
Imports
com.sun.javafx.image.impl.ByteAbgr, .ByteArgb, .ByteBgr, .ByteBgra, .ByteBgraPre, .ByteGray, .ByteIndexed, .ByteRgb, .ByteRgba, .General, .IntArgb, .IntArgbPre, .IntBgr, .IntRgb, java.nio.Buffer, .ByteBuffer, .IntBuffer, javafx.scene.image.PixelFormat, .WritablePixelFormat

Constructor Summary

AccessConstructor and Description
private

Method Summary

Modifier and TypeMethod and Description
public static ByteToBytePixelConverter
public static ByteToIntPixelConverter
public static BytePixelGetter
public static BytePixelSetter
public static <T extends Buffer, U extends Buffer> PixelConverter<T, U>
public static <T extends Buffer> PixelGetter<T>
public static IntToBytePixelConverter
public static IntToIntPixelConverter
public static IntPixelGetter
public static IntPixelSetter
public static <T extends Buffer> PixelSetter<T>
public static int
NonPretoPre(int nonpre, int alpha)

public static int
NonPretoPre(int nonpre)

public static int
PreToNonPre(int pre, int alpha)

public static int
PretoNonPre(int pre)

public static int
RgbToGray(int r, int g, int b)

public static int
RgbToGray(int xrgb)

Inherited from java.lang.Object:
cloneequalsfinalizegetClasshashCodenotifynotifyAlltoStringwaitwaitwait

Constructor Detail

PixelUtilsback to summary
private PixelUtils()

Method Detail

getB2BConverterback to summary
public static ByteToBytePixelConverter getB2BConverter(PixelGetter<ByteBuffer> src, PixelSetter<ByteBuffer> dst)
getB2IConverterback to summary
public static ByteToIntPixelConverter getB2IConverter(PixelGetter<ByteBuffer> src, PixelSetter<IntBuffer> dst)
getByteGetterback to summary
public static BytePixelGetter getByteGetter(PixelFormat<ByteBuffer> pf)
getByteSetterback to summary
public static BytePixelSetter getByteSetter(WritablePixelFormat<ByteBuffer> pf)
getConverterback to summary
public static <T extends Buffer, U extends Buffer> PixelConverter<T, U> getConverter(PixelGetter<T> src, PixelSetter<U> dst)
getGetterback to summary
public static <T extends Buffer> PixelGetter<T> getGetter(PixelFormat<T> pf)
getI2BConverterback to summary
public static IntToBytePixelConverter getI2BConverter(PixelGetter<IntBuffer> src, PixelSetter<ByteBuffer> dst)
getI2IConverterback to summary
public static IntToIntPixelConverter getI2IConverter(PixelGetter<IntBuffer> src, PixelSetter<IntBuffer> dst)
getIntGetterback to summary
public static IntPixelGetter getIntGetter(PixelFormat<IntBuffer> pf)
getIntSetterback to summary
public static IntPixelSetter getIntSetter(WritablePixelFormat<IntBuffer> pf)
getSetterback to summary
public static <T extends Buffer> PixelSetter<T> getSetter(WritablePixelFormat<T> pf)
NonPretoPreback to summary
public static int NonPretoPre(int nonpre, int alpha)
NonPretoPreback to summary
public static int NonPretoPre(int nonpre)
PreToNonPreback to summary
public static int PreToNonPre(int pre, int alpha)
PretoNonPreback to summary
public static int PretoNonPre(int pre)
RgbToGrayback to summary
public static int RgbToGray(int r, int g, int b)
RgbToGrayback to summary
public static int RgbToGray(int xrgb)