View Source GoogleApi.Forms.V1.Model.MediaProperties (google_api_forms v0.2.1)

Properties of the media.

Attributes

  • alignment (type: String.t, default: nil) - Position of the media.
  • width (type: integer(), default: nil) - The width of the media in pixels. When the media is displayed, it is scaled to the smaller of this value or the width of the displayed form. The original aspect ratio of the media is preserved. If a width is not specified when the media is added to the form, it is set to the width of the media source. Width must be between 0 and 740, inclusive. Setting width to 0 or unspecified is only permitted when updating the media source.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.Forms.V1.Model.MediaProperties{
  alignment: String.t() | nil,
  width: integer() | nil
}

Functions

@spec decode(struct(), keyword()) :: struct()

Unwrap a decoded JSON object into its complex fields.