public final class ImageScaleMode extends com.azure.core.util.ExpandableStringEnum<ImageScaleMode>
Modifier and Type | Field and Description |
---|---|
static ImageScaleMode |
PAD
Static value pad for ImageScaleMode.
|
static ImageScaleMode |
PRESERVE_ASPECT_RATIO
Static value preserveAspectRatio for ImageScaleMode.
|
static ImageScaleMode |
STRETCH
Static value stretch for ImageScaleMode.
|
Constructor and Description |
---|
ImageScaleMode() |
Modifier and Type | Method and Description |
---|---|
static ImageScaleMode |
fromString(String name)
Creates or finds a ImageScaleMode from its string representation.
|
static Collection<ImageScaleMode> |
values() |
public static final ImageScaleMode PRESERVE_ASPECT_RATIO
public static final ImageScaleMode PAD
public static final ImageScaleMode STRETCH
public static ImageScaleMode fromString(String name)
name
- a name to look for.public static Collection<ImageScaleMode> values()
Copyright © 2021 Microsoft Corporation. All rights reserved.