Sdílet prostřednictvím


ImageAspect Class

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

public class ImageAspect

Defines values for ImageAspect.

Field Summary

Modifier and Type Field and Description
final ImageAspect ALL

Static value All for ImageAspect.

final ImageAspect SQUARE

Static value Square for ImageAspect.

final ImageAspect TALL

Static value Tall for ImageAspect.

final ImageAspect WIDE

Static value Wide for ImageAspect.

Method Summary

Modifier and Type Method and Description
ImageAspect fromString(String name)

Creates or finds a ImageAspect from its string representation.

Collection<ImageAspect> values()

Field Details

ALL

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

Static value All for ImageAspect.

SQUARE

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

Static value Square for ImageAspect.

TALL

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

Static value Tall for ImageAspect.

WIDE

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

Static value Wide for ImageAspect.

Method Details

fromString

public static ImageAspect fromString(String name)

Creates or finds a ImageAspect from its string representation.

Parameters:

name - a name to look for

Returns:

the corresponding ImageAspect

values

public static Collection values()

Returns:

known ImageAspect values

Applies to