Freigeben über


ImageAspect Klasse

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

public class ImageAspect

Definiert Werte für ImageAspect.

Feldzusammenfassung

Modifizierer und Typ Feld und Beschreibung
final ImageAspect ALL

Statischer Wert All für ImageAspect.

final ImageAspect SQUARE

Statischer Wert Square für ImageAspect.

final ImageAspect TALL

Statischer Wert Tall für ImageAspect.

final ImageAspect WIDE

Statischer Wert Wide für ImageAspect.

Methodenzusammenfassung

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

Erstellt oder sucht eine ImageAspect aus seiner Zeichenfolgendarstellung.

Collection<ImageAspect> values()

Felddetails

ALL

public static final ImageAspect ALL= fromString("All")

Statischer Wert All für ImageAspect.

SQUARE

public static final ImageAspect SQUARE= fromString("Square")

Statischer Wert Square für ImageAspect.

TALL

public static final ImageAspect TALL= fromString("Tall")

Statischer Wert Tall für ImageAspect.

WIDE

public static final ImageAspect WIDE= fromString("Wide")

Statischer Wert Wide für ImageAspect.

Details zur Methode

fromString

public static ImageAspect fromString(String name)

Erstellt oder sucht eine ImageAspect aus seiner Zeichenfolgendarstellung.

Parameters:

name - einen Namen, nach dem gesucht werden soll

Returns:

die entsprechende ImageAspect

values

public static Collection values()

Returns:

bekannte ImageAspect-Werte

Gilt für: