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

A simple 2D box represented by an (x, y) co-ordinate, width and height. Copied from htmlrender_webkit_headless_proto.Document to avoid additional dependency.

Attributes

  • height (type: integer(), default: nil) -
  • width (type: integer(), default: nil) -
  • x (type: integer(), default: nil) -
  • y (type: integer(), default: nil) -

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.SnapshotBox{
  height: integer() | nil,
  width: integer() | nil,
  x: integer() | nil,
  y: integer() | nil
}

Functions

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

Unwrap a decoded JSON object into its complex fields.