Freigeben über


ImageColor Klasse

  • java.lang.Object
    • com.microsoft.rest.ExpandableStringEnum<ImageColor>
      • com.microsoft.azure.cognitiveservices.search.imagesearch.models.ImageColor

public class ImageColor

Definiert Werte für ImageColor.

Feldzusammenfassung

Modifizierer und Typ Feld und Beschreibung
final ImageColor BLACK

Statischer Wert Schwarz für ImageColor.

final ImageColor BLUE

Statischer Wert Blue für ImageColor.

final ImageColor BROWN

Statischer Wert Brown für ImageColor.

final ImageColor COLOR_ONLY

Statischer Wert ColorOnly für ImageColor.

final ImageColor GRAY

Statischer Wert Gray für ImageColor.

final ImageColor GREEN

Statischer Wert Grün für ImageColor.

final ImageColor MONOCHROME

Statischer Wert Monochrome für ImageColor.

final ImageColor ORANGE

Statischer Wert Orange für ImageColor.

final ImageColor PINK

Statischer Wert Pink für ImageColor.

final ImageColor PURPLE

Statischer Wert Lila für ImageColor.

final ImageColor RED

Statischer Wert Rot für ImageColor.

final ImageColor TEAL

Statischer Wert Teal für ImageColor.

final ImageColor WHITE

Statischer Wert Weiß für ImageColor.

final ImageColor YELLOW

Statischer Wert Gelb für ImageColor.

Methodenzusammenfassung

Modifizierer und Typ Methode und Beschreibung
ImageColor fromString(String name)

Erstellt oder findet eine ImageColor aus seiner Zeichenfolgendarstellung.

Collection<ImageColor> values()

Felddetails

BLACK

public static final ImageColor BLACK= fromString("Black")

Statischer Wert Schwarz für ImageColor.

BLUE

public static final ImageColor BLUE= fromString("Blue")

Statischer Wert Blue für ImageColor.

BROWN

public static final ImageColor BROWN= fromString("Brown")

Statischer Wert Brown für ImageColor.

COLOR_ONLY

public static final ImageColor COLOR_ONLY= fromString("ColorOnly")

Statischer Wert ColorOnly für ImageColor.

GRAY

public static final ImageColor GRAY= fromString("Gray")

Statischer Wert Gray für ImageColor.

GREEN

public static final ImageColor GREEN= fromString("Green")

Statischer Wert Grün für ImageColor.

MONOCHROME

public static final ImageColor MONOCHROME= fromString("Monochrome")

Statischer Wert Monochrome für ImageColor.

ORANGE

public static final ImageColor ORANGE= fromString("Orange")

Statischer Wert Orange für ImageColor.

PINK

public static final ImageColor PINK= fromString("Pink")

Statischer Wert Pink für ImageColor.

PURPLE

public static final ImageColor PURPLE= fromString("Purple")

Statischer Wert Lila für ImageColor.

RED

public static final ImageColor RED= fromString("Red")

Statischer Wert Rot für ImageColor.

TEAL

public static final ImageColor TEAL= fromString("Teal")

Statischer Wert Teal für ImageColor.

WHITE

public static final ImageColor WHITE= fromString("White")

Statischer Wert Weiß für ImageColor.

YELLOW

public static final ImageColor YELLOW= fromString("Yellow")

Statischer Wert Gelb für ImageColor.

Details zur Methode

fromString

public static ImageColor fromString(String name)

Erstellt oder findet eine ImageColor aus seiner Zeichenfolgendarstellung.

Parameters:

name - einen Namen, nach dem gesucht werden soll

Returns:

die entsprechende ImageColor

values

public static Collection values()

Returns:

bekannte ImageColor-Werte

Gilt für: