ImageExtensions
Inheritance: java.lang.Object
public final class ImageExtensions
Contains extension methods for conversions based on java.awt.Image and Image.
Methods
equals(Object arg0)
public boolean equals(Object arg0)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | java.lang.Object |
Returns: boolean
fromJava_internalized(BufferedImage image, Rectangle rect)
public static RasterImage fromJava_internalized(BufferedImage image, Rectangle rect)
Parameters:
Parameter | Type | Description |
---|---|---|
image | java.awt.image.BufferedImage | |
rect | Rectangle |
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:
Parameter | Type | Description |
---|---|---|
image | Image | The 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:
Parameter | Type | Description |
---|---|---|
image | Image |
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:
Parameter | Type | Description |
---|---|---|
arg0 | long |
wait(long arg0, int arg1)
public final void wait(long arg0, int arg1)
Parameters:
Parameter | Type | Description |
---|---|---|
arg0 | long | |
arg1 | int |