public enum Widget.ImageType extends Enum<Widget.ImageType> implements ProtocolMessageEnum
The shape used to crop the image.
Google Workspace Add-ons and Chat apps:
Protobuf enum google.apps.card.v1.Widget.ImageType
Implements
ProtocolMessageEnumStatic Fields | |
---|---|
Name | Description |
CIRCLE | Applies a circular mask to the image. For example, a 4x3 image becomes a circle with a diameter of 3. |
CIRCLE_VALUE | Applies a circular mask to the image. For example, a 4x3 image becomes a circle with a diameter of 3. |
SQUARE | Default value. Applies a square mask to the image. For example, a 4x3 image becomes 3x3. |
SQUARE_VALUE | Default value. Applies a square mask to the image. For example, a 4x3 image becomes 3x3. |
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() |