Enum Widget.ImageType (2.46.0)

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

ProtocolMessageEnum

Static 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 = 1;

CIRCLE_VALUE

Applies a circular mask to the image. For example, a 4x3 image becomes a circle with a diameter of 3.

CIRCLE = 1;

SQUARE

Default value. Applies a square mask to the image. For example, a 4x3 image becomes 3x3.

SQUARE = 0;

SQUARE_VALUE

Default value. Applies a square mask to the image. For example, a 4x3 image becomes 3x3.

SQUARE = 0;

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()