GoogleApi.Chat.V1.Model.GoogleAppsCardV1ImageCropStyle (google_api_chat v0.43.0)
View SourceRepresents 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.