< prev index next >

modules/graphics/src/main/java/com/sun/javafx/tk/Toolkit.java

Print this page

        

*** 806,816 **** * hold the requested size. * * @param context a ImageRenderingContext instance specifying * the various rendering parameters * @return a platform specific image object ! * @see javafx.scene.image.Image#impl_fromPlatformImage */ public abstract Object renderToImage(ImageRenderingContext context); /** --- 806,816 ---- * hold the requested size. * * @param context a ImageRenderingContext instance specifying * the various rendering parameters * @return a platform specific image object ! * @see Toolkit.getImageAccessor().fromPlatformImage */ public abstract Object renderToImage(ImageRenderingContext context); /**
*** 946,955 **** --- 946,957 ---- public interface ImageAccessor { public boolean isAnimation(Image image); public ReadOnlyObjectProperty<PlatformImage>getImageProperty(Image image); public int[] getPreColors(PixelFormat<ByteBuffer> pf); public int[] getNonPreColors(PixelFormat<ByteBuffer> pf); + public Object getPlatformImage(Image image); + public Image fromPlatformImage(Object image); } private static ImageAccessor imageAccessor = null; public static void setImageAccessor(ImageAccessor accessor) {
< prev index next >