Package com.vaadin.v7.ui
Interface AbstractColorPicker.Coordinates2Color
-
- All Superinterfaces:
Serializable
- Enclosing class:
- AbstractColorPicker
@Deprecated public static interface AbstractColorPicker.Coordinates2Color extends Serializable
Deprecated.Interface for converting 2d-coordinates to a Color.
-
-
Method Summary
All Methods Instance Methods Abstract Methods Deprecated Methods Modifier and Type Method Description Colorcalculate(int x, int y)Deprecated.Calculate color from coordinates.int[]calculate(Color c)Deprecated.Calculate coordinates from color.
-
-
-
Method Detail
-
calculate
Color calculate(int x, int y)
Deprecated.Calculate color from coordinates.- Parameters:
x- the x-coordinatey- the y-coordinate- Returns:
- the color
-
calculate
int[] calculate(Color c)
Deprecated.Calculate coordinates from color.- Parameters:
c- the c- Returns:
- the integer array with the coordinates
-
-