Reference documentation and code samples for the Google Apps Chat V1 Client class ImageType.
The shape used to crop the image.
Google Workspace add-ons and Chat apps:
Protobuf type google.apps.card.v1.Widget.ImageType
Namespace
Google \ Apps \ Card \ V1 \ WidgetMethods
static::name
| Parameter | |
|---|---|
| Name | Description |
value |
mixed
|
static::value
| Parameter | |
|---|---|
| Name | Description |
name |
mixed
|
Constants
SQUARE
Value: 0Default value. Applies a square mask to the image. For example, a 4x3 image becomes 3x3.
Generated from protobuf enum SQUARE = 0;
CIRCLE
Value: 1Applies a circular mask to the image. For example, a 4x3 image becomes a circle with a diameter of 3.
Generated from protobuf enum CIRCLE = 1;