View Source GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoPhotoOverlay (google_api_content_warehouse v0.4.0)

Settings that control how a photo overlay is displayed.

Attributes

  • relativePosition (type: GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoRelativePosition.t, default: nil) - Top left position of the overlay relative to the user's avatar.
  • relativeScale (type: GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoRelativeScale.t, default: nil) - Scale of the overlay relative to the user's avatar.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoPhotoOverlay{
  relativePosition:
    GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoRelativePosition.t()
    | nil,
  relativeScale:
    GoogleApi.ContentWarehouse.V1.Model.SocialGraphApiProtoRelativeScale.t()
    | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.