View Source GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1NormalizedVertex (google_api_content_warehouse v0.6.0)

A vertex represents a 2D point in the image. NOTE: the normalized vertex coordinates are relative to the original image and range from 0 to 1.

Attributes

  • x (type: number(), default: nil) - X coordinate.
  • y (type: number(), default: nil) - Y coordinate (starts from the top of the image).

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

@type t() ::
  %GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1NormalizedVertex{
    x: number() | nil,
    y: number() | nil
  }

Functions

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

Unwrap a decoded JSON object into its complex fields.