ImageColor Class

  • java.lang.Object
    • com.microsoft.rest.ExpandableStringEnum
      • com.microsoft.azure.cognitiveservices.search.customimagesearch.models.ImageColor

public final class ImageColor
extends com.microsoft.rest.ExpandableStringEnum<ImageColor>

Defines values for ImageColor.

Field Summary

Modifier and Type Field and Description
static final ImageColor BLACK

Static value Black for ImageColor.

static final ImageColor BLUE

Static value Blue for ImageColor.

static final ImageColor BROWN

Static value Brown for ImageColor.

static final ImageColor COLOR_ONLY

Static value ColorOnly for ImageColor.

static final ImageColor GRAY

Static value Gray for ImageColor.

static final ImageColor GREEN

Static value Green for ImageColor.

static final ImageColor MONOCHROME

Static value Monochrome for ImageColor.

static final ImageColor ORANGE

Static value Orange for ImageColor.

static final ImageColor PINK

Static value Pink for ImageColor.

static final ImageColor PURPLE

Static value Purple for ImageColor.

static final ImageColor RED

Static value Red for ImageColor.

static final ImageColor TEAL

Static value Teal for ImageColor.

static final ImageColor WHITE

Static value White for ImageColor.

static final ImageColor YELLOW

Static value Yellow for ImageColor.

Constructor Summary

Constructor Description
ImageColor()

Method Summary

Modifier and Type Method and Description
static ImageColor fromString(String name)

Creates or finds a ImageColor from its string representation.

static java.util.Collection<ImageColor> values()

Methods inherited from com.microsoft.rest.ExpandableStringEnum

com.microsoft.rest.ExpandableStringEnum.<T>fromString com.microsoft.rest.ExpandableStringEnum.<T>values com.microsoft.rest.ExpandableStringEnum.equals com.microsoft.rest.ExpandableStringEnum.hashCode com.microsoft.rest.ExpandableStringEnum.toString com.microsoft.rest.ExpandableStringEnum.withNameValue

Methods inherited from java.lang.Object

java.lang.Object.clone java.lang.Object.finalize java.lang.Object.getClass java.lang.Object.notify java.lang.Object.notifyAll java.lang.Object.wait java.lang.Object.wait java.lang.Object.wait

Field Details

BLACK

public static final ImageColor BLACK

Static value Black for ImageColor.

BLUE

public static final ImageColor BLUE

Static value Blue for ImageColor.

BROWN

public static final ImageColor BROWN

Static value Brown for ImageColor.

COLOR_ONLY

public static final ImageColor COLOR_ONLY

Static value ColorOnly for ImageColor.

GRAY

public static final ImageColor GRAY

Static value Gray for ImageColor.

GREEN

public static final ImageColor GREEN

Static value Green for ImageColor.

MONOCHROME

public static final ImageColor MONOCHROME

Static value Monochrome for ImageColor.

ORANGE

public static final ImageColor ORANGE

Static value Orange for ImageColor.

PINK

public static final ImageColor PINK

Static value Pink for ImageColor.

PURPLE

public static final ImageColor PURPLE

Static value Purple for ImageColor.

RED

public static final ImageColor RED

Static value Red for ImageColor.

TEAL

public static final ImageColor TEAL

Static value Teal for ImageColor.

WHITE

public static final ImageColor WHITE

Static value White for ImageColor.

YELLOW

public static final ImageColor YELLOW

Static value Yellow for ImageColor.

Constructor Details

ImageColor

public ImageColor()

Method Details

fromString

public static ImageColor fromString(String name)

Creates or finds a ImageColor from its string representation.

Parameters:

name - a name to look for

Returns:

the corresponding ImageColor

values

public static Collection values()

Returns:

known ImageColor values

Applies to