View Source GoogleApi.Chat.V1.Model.GoogleAppsCardV1ImageCropStyle (google_api_chat v0.34.3)
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 }
Attributes
-
aspectRatio
(type:float()
, default:nil
) - The aspect ratio to use if the crop type isRECTANGLE_CUSTOM
. For example, here's how to apply a 16:9 aspect ratio:cropStyle { "type": "RECTANGLE_CUSTOM", "aspectRatio": 16/9 }
-
type
(type:String.t
, default:nil
) - The crop type.
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
Functions
Unwrap a decoded JSON object into its complex fields.