ImageExtensions

Inheritance: java.lang.Object

public final class ImageExtensions

Contains extension methods for conversions based on java.awt.Image and Image.

Methods

MethodDescription
equals(Object arg0)
fromJava_internalized(BufferedImage image, Rectangle rect)
getClass()
hashCode()
notify()
notifyAll()
toGdiImage(Image image)Converts the Image to the java.awt.Image.
toGdiImage_internalized(Image image)
toString()
wait()
wait(long arg0)
wait(long arg0, int arg1)

equals(Object arg0)

public boolean equals(Object arg0)

Parameters:

ParameterTypeDescription
arg0java.lang.Object

Returns: boolean

fromJava_internalized(BufferedImage image, Rectangle rect)

public static RasterImage fromJava_internalized(BufferedImage image, Rectangle rect)

Parameters:

ParameterTypeDescription
imagejava.awt.image.BufferedImage
rectRectangle

Returns: RasterImage

getClass()

public final native Class<?> getClass()

Returns: java.lang.Class

hashCode()

public native int hashCode()

Returns: int

notify()

public final native void notify()

notifyAll()

public final native void notifyAll()

toGdiImage(Image image)

public static Image toGdiImage(Image image)

Converts the Image to the java.awt.Image.

Parameters:

ParameterTypeDescription
imageImageThe Image to convert.

Warning, the GDI image may get lower bounds than image has. To get all parts of the image use more safe extension method ToGdiImageFull. |

Returns: Image - The converted java.awt.Image.

toGdiImage_internalized(Image image)

public static System.Drawing.Image toGdiImage_internalized(Image image)

Parameters:

ParameterTypeDescription
imageImage

Returns: Image

toString()

public String toString()

Returns: java.lang.String

wait()

public final void wait()

wait(long arg0)

public final void wait(long arg0)

Parameters:

ParameterTypeDescription
arg0long

wait(long arg0, int arg1)

public final void wait(long arg0, int arg1)

Parameters:

ParameterTypeDescription
arg0long
arg1int