ImageAspect Class
- java.
lang. Object - com.
microsoft. rest. ExpandableStringEnum<ImageAspect> - com.
microsoft. azure. cognitiveservices. search. imagesearch. models. ImageAspect
- com.
- com.
public class ImageAspect
Defines values for ImageAspect.
Field Summary
Modifier and Type | Field and Description |
---|---|
final Image |
ALL
Static value All for ImageAspect. |
final Image |
SQUARE
Static value Square for ImageAspect. |
final Image |
TALL
Static value Tall for ImageAspect. |
final Image |
WIDE
Static value Wide for ImageAspect. |
Method Summary
Modifier and Type | Method and Description |
---|---|
Image |
fromString(String name)
Creates or finds a ImageAspect from its string representation. |
Collection<Image |
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:
Returns:
values
public static Collection
Returns:
Applies to
Azure SDK for Java