Class GoogleAppsCardV1ImageCropStyle
Represents the crop style applied to an image. Google Workspace Add-ons and Chat apps: For example, here's how to apply a 16:9 aspect ratio:
cropStyle { "type": "RECTANGLE_CUSTOM", "aspectRatio": 16/9 }
Implements
Inherited Members
Namespace: Google.Apis.HangoutsChat.v1.Data
Assembly: Google.Apis.HangoutsChat.v1.dll
Syntax
public class GoogleAppsCardV1ImageCropStyle : IDirectResponseSchema
Properties
AspectRatio
The aspect ratio to use if the crop type is RECTANGLE_CUSTOM
. For example, here's how to apply a 16:9
aspect ratio:
cropStyle { "type": "RECTANGLE_CUSTOM", "aspectRatio": 16/9 }
Declaration
[JsonProperty("aspectRatio")]
public virtual double? AspectRatio { get; set; }
Property Value
Type | Description |
---|---|
double? |
ETag
The ETag of the item.
Declaration
public virtual string ETag { get; set; }
Property Value
Type | Description |
---|---|
string |
Type
The crop type.
Declaration
[JsonProperty("type")]
public virtual string Type { get; set; }
Property Value
Type | Description |
---|---|
string |