Package | Description |
---|---|
org.scijava.tool | |
org.scijava.ui.awt | |
org.scijava.ui.swing.widget | |
org.scijava.util |
Modifier and Type | Method and Description |
---|---|
void |
IconDrawer.setIconPixel(int x,
int y,
ColorRGB pixel) |
Modifier and Type | Method and Description |
---|---|
static ColorRGB |
AWTColors.getColorRGB(Color color)
|
Modifier and Type | Method and Description |
---|---|
static Color |
AWTColors.getColor(ColorRGB c)
|
static Color |
AWTColors.getColor(ColorRGB c,
int alpha)
|
Modifier and Type | Method and Description |
---|---|
ColorRGB |
SwingColorWidget.getValue() |
Modifier and Type | Class and Description |
---|---|
class |
ColorRGBA
A color with red, green, blue and alpha color components.
|
Modifier and Type | Method and Description |
---|---|
static ColorRGB |
ColorRGB.fromHSVColor(double h,
double s,
double v) |
static ColorRGB |
ColorRGB.fromHTMLColor(String color)
Convert a string in the format specified by CSS Color Module Level 3 - W3C
Recommendation 07 June 2011 to a
ColorRGB object. |
static ColorRGB |
Colors.getClosestPresetColor(ColorRGB color)
Returns the preset color closest to a given color.
|
static ColorRGB |
Colors.getColor(String name)
Gets the preset color with the given name.
|
Modifier and Type | Method and Description |
---|---|
static Map<String,ColorRGB> |
Colors.map()
Gets the table of all preset colors.
|
static Collection<ColorRGB> |
Colors.values()
Gets the list of all preset colors.
|
Modifier and Type | Method and Description |
---|---|
static ColorRGB |
Colors.getClosestPresetColor(ColorRGB color)
Returns the preset color closest to a given color.
|
static String |
Colors.getName(ColorRGB color)
Gets the name of the preset matching the given color.
|
Copyright © 2015–2022 SciJava. All rights reserved.