GoogleApi.DataLabeling.V1beta1.Model.GoogleCloudDatalabelingV1beta1Vertex (google_api_data_labeling v0.4.1)

View Source

A vertex represents a 2D point in the image. NOTE: the vertex coordinates are in the same scale as the original image.

Attributes

  • x (type: integer(), default: nil) - X coordinate.
  • y (type: integer(), default: nil) - Y coordinate.

Summary

Functions

Unwrap a decoded JSON object into its complex fields.

Types

t()

@type t() ::
  %GoogleApi.DataLabeling.V1beta1.Model.GoogleCloudDatalabelingV1beta1Vertex{
    x: integer() | nil,
    y: integer() | nil
  }

Functions

decode(value, options)

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

Unwrap a decoded JSON object into its complex fields.