@API(type=INTERNAL,
src=PUBLIC)
public interface ImageInverter
Modifier and Type | Method and Description |
---|---|
java.lang.Object |
invertImage(java.lang.Object image)
Attempts to invert an image.
|
java.lang.Object |
loadImage(java.net.URL imageURL)
Load an image from an URL.
|
boolean |
shouldInvertImage(java.lang.Object image)
Check if an image should be inverted.
|
java.lang.Object loadImage(java.net.URL imageURL) throws java.io.IOException
imageURL
- The image URLjava.io.IOException
- If it fails to load the image.boolean shouldInvertImage(java.lang.Object image) throws java.io.IOException
image
- Either a java.awt.image.BufferedImage for the standalone editor
or an org.eclipse.jface.resource.ImageDescriptor for the Oxygen plugin for Eclipsetrue
if image should be inverted in the current color theme.java.io.IOException
- If the operation fails.java.lang.Object invertImage(java.lang.Object image) throws java.io.IOException
image
- The image. Either a java.awt.image.BufferedImage for the standalone editor
or an org.eclipse.jface.resource.ImageDescriptor for the Oxygen plugin for Eclipsejava.io.IOException
- If the operation fails© Copyright SyncRO Soft SRL 2002 - 2016. All rights reserved.