public enum ImageCropStyle.ImageCropType extends Enum<ImageCropStyle.ImageCropType> implements ProtocolMessageEnum
Represents the crop style applied to an image.
Google Workspace Add-ons and Chat apps:
Protobuf enum google.apps.card.v1.ImageCropStyle.ImageCropType
Implements
ProtocolMessageEnumStatic Fields | |
---|---|
Name | Description |
CIRCLE | Applies a circular crop. |
CIRCLE_VALUE | Applies a circular crop. |
IMAGE_CROP_TYPE_UNSPECIFIED | Don't use. Unspecified. |
IMAGE_CROP_TYPE_UNSPECIFIED_VALUE | Don't use. Unspecified. |
RECTANGLE_4_3 | Applies a rectangular crop with a 4:3 aspect ratio. |
RECTANGLE_4_3_VALUE | Applies a rectangular crop with a 4:3 aspect ratio. |
RECTANGLE_CUSTOM | Applies a rectangular crop with a custom aspect ratio. Set the custom
aspect ratio with |
RECTANGLE_CUSTOM_VALUE | Applies a rectangular crop with a custom aspect ratio. Set the custom
aspect ratio with |
SQUARE | Default value. Applies a square crop. |
SQUARE_VALUE | Default value. Applies a square crop. |
UNRECOGNIZED |
Static Methods | |
---|---|
Name | Description |
forNumber(int value) | |
getDescriptor() | |
internalGetValueMap() | |
valueOf(Descriptors.EnumValueDescriptor desc) | |
valueOf(int value) | Deprecated. Use #forNumber(int) instead. |
valueOf(String name) | |
values() |
Methods | |
---|---|
Name | Description |
getDescriptorForType() | |
getNumber() | |
getValueDescriptor() |