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 javafx.scene.image.ImageView |
createImageView(String imagePath,
double size)
Method to create an Image view with quadratic measures.
|
static javafx.scene.image.ImageView |
createImageView(String imagePath,
double width,
double height)
Method to create an Image view with quadratic measures.
|
public static javafx.scene.image.ImageView createImageView(String imagePath, double size)
imagePath - the path to the image applied to the image viewsize - the width and height (same value used for both)public static javafx.scene.image.ImageView createImageView(String imagePath, double width, double height)
imagePath - the path to the image applied to the image viewwidth - the width for the imageheight - the height for the imagepublic 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 setsaturation - the saturation of the color to be setbrightness - the brightness of the color to be setcontrast - the contrast of the color to be setCopyright © 2015–2018 openbase.org. All rights reserved.