View Source GoogleApi.PageSpeedOnline.V2.Model.PagespeedApiImageV2PageRect (google_api_page_speed_online v0.18.0)

The region of the page that is captured by this image, with dimensions measured in CSS pixels.

Attributes

  • height (type: integer(), default: nil) - The height of the rect.
  • left (type: integer(), default: nil) - The left coordinate of the rect, in page coordinates.
  • top (type: integer(), default: nil) - The top coordinate of the rect, in page coordinates.
  • width (type: integer(), default: nil) - The width of the rect.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() :: %GoogleApi.PageSpeedOnline.V2.Model.PagespeedApiImageV2PageRect{
  height: integer(),
  left: integer(),
  top: integer(),
  width: integer()
}

Functions

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

Unwrap a decoded JSON object into its complex fields.