public final class ImageViewProvider extends Object
| Modifier and Type | Method and Description |
|---|---|
static void |
colorizeIcons(double hue,
double saturation,
double brightness,
double contrast)
Colorizes all icons created by this provider to a choosen color (defined by the parameters).
|
static void |
colorizeIconsToBlack()
Colorizes all icons created by this provider to black.
|
static void |
colorizeIconsToWhite()
Colorizes all icons created by this provider to white.
|
static List<javafx.scene.image.ImageView> |
createImageView(double width,
double height,
String... imageURI)
Method to create an Image view with quadratic measures.
|
static javafx.scene.image.ImageView |
createImageView(double width,
double height,
String imageURI)
Method to create an Image view with quadratic measures.
|
static javafx.scene.image.ImageView |
createImageView(double size,
String imageURI)
Method to create an Image view with quadratic measures.
|
static javafx.scene.effect.ColorAdjust |
getColorEffect() |
static javafx.scene.image.ImageView |
registerImageView(javafx.scene.image.ImageView imageView) |
public static javafx.scene.image.ImageView createImageView(double size,
String imageURI)
throws org.openbase.jul.exception.CouldNotPerformException
size - the width and height (same value used for both)imageURI - the path to the image applied to the image vieworg.openbase.jul.exception.CouldNotPerformExceptionpublic static javafx.scene.image.ImageView createImageView(double width,
double height,
String imageURI)
throws org.openbase.jul.exception.CouldNotPerformException
width - the width for the imageheight - the height for the imageimageURI - the path to the image applied to the image vieworg.openbase.jul.exception.CouldNotPerformExceptionpublic static List<javafx.scene.image.ImageView> createImageView(double width, double height, String... imageURI) throws org.openbase.jul.exception.CouldNotPerformException
width - the width for the imageheight - the height for the imageimageURI - the path to the image applied to the image vieworg.openbase.jul.exception.CouldNotPerformExceptionpublic static javafx.scene.image.ImageView registerImageView(javafx.scene.image.ImageView imageView)
throws org.openbase.jul.exception.CouldNotPerformException
org.openbase.jul.exception.CouldNotPerformExceptionpublic static void colorizeIconsToWhite()
public static void colorizeIconsToBlack()
public static void colorizeIcons(double hue,
double saturation,
double brightness,
double contrast)
hue - the hue of the color to be set between -1 and 1saturation - the saturation of the color to be set between -1 and 1brightness - the brightness of the color to be set between -1 and 1contrast - the contrast of the color to be set between -1 and 1public static javafx.scene.effect.ColorAdjust getColorEffect()
Copyright © 2015–2018 openbase.org. All rights reserved.