public static enum Img.Random extends Enum<Img.Random>
| Modifier and Type | Method and Description |
|---|---|
static Color |
color() |
static Color |
darkColor() |
static Color |
darkGrayColor() |
static Color |
grayColor() |
static Color |
lightColor() |
static Color |
lightGrayColor() |
static Color |
moderateColor() |
static Color |
moderateGrayColor() |
static Color |
randomColor(int minR,
int maxR,
int minG,
int maxG,
int minB,
int maxB) |
static Color |
randomDarkBlueColor() |
static Color |
randomDarkGreenColor() |
static Color |
randomDarkRedColor() |
static Color |
randomGrayColor(int min,
int max) |
static Color |
randomLightBlueColor() |
static Color |
randomLightGreenColor() |
static Color |
randomLightRedColor() |
static Color |
randomModerateBlueColor() |
static Color |
randomModerateGreenColor() |
static Color |
randomModerateRedColor() |
static Img.Random |
valueOf(String name)
Returns the enum constant of this type with the specified name.
|
static Img.Random[] |
values()
Returns an array containing the constants of this enum type, in
the order they are declared.
|
public static Img.Random[] values()
for (Img.Random c : Img.Random.values()) System.out.println(c);
public static Img.Random valueOf(String name)
name - the name of the enum constant to be returned.IllegalArgumentException - if this enum type has no constant with the specified nameNullPointerException - if the argument is nullpublic static Color color()
public static Color lightColor()
public static Color darkColor()
public static Color moderateColor()
public static Color grayColor()
public static Color lightGrayColor()
public static Color darkGrayColor()
public static Color moderateGrayColor()
public static Color randomLightRedColor()
public static Color randomDarkRedColor()
public static Color randomModerateRedColor()
public static Color randomLightGreenColor()
public static Color randomDarkGreenColor()
public static Color randomModerateGreenColor()
public static Color randomLightBlueColor()
public static Color randomDarkBlueColor()
public static Color randomModerateBlueColor()
public static Color randomGrayColor(int min, int max)
public static Color randomColor(int minR, int maxR, int minG, int maxG, int minB, int maxB)
Copyright © 2014–2021 OSGL (Open Source General Library). All rights reserved.