public sealed class Layout : IMessage<Document.Types.Layout>, IEquatable<Document.Types.Layout>, IDeepCloneable<Document.Types.Layout>, IBufferMessage, IMessage
Describes the layout information of a [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in the document.
The position of the [text_segment][google.cloud.automl.v1.Document.Layout.text_segment] in the page.
Contains exactly 4
[normalized_vertices][google.cloud.automl.v1p1beta.BoundingPoly.normalized_vertices]
and they are connected by edges in the order provided, which will
represent a rectangle parallel to the frame. The
[NormalizedVertex-s][google.cloud.automl.v1p1beta.NormalizedVertex] are
relative to the page.
Coordinates are based on top-left as point (0,0).
[[["Easy to understand","easyToUnderstand","thumb-up"],["Solved my problem","solvedMyProblem","thumb-up"],["Other","otherUp","thumb-up"]],[["Missing the information I need","missingTheInformationINeed","thumb-down"],["Too complicated / too many steps","tooComplicatedTooManySteps","thumb-down"],["Out of date","outOfDate","thumb-down"],["Samples / code issue","samplesCodeIssue","thumb-down"],["Other","otherDown","thumb-down"]],["Last updated 2025-08-07 UTC."],[[["\u003cp\u003eThis webpage details the \u003ccode\u003eLayout\u003c/code\u003e class within the \u003ccode\u003eGoogle.Cloud.AutoML.V1.Document.Types\u003c/code\u003e namespace, which is used to define the layout information of a text segment within a document.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLayout\u003c/code\u003e class implements several interfaces, including \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, \u003ccode\u003eIDeepCloneable\u003c/code\u003e, and \u003ccode\u003eIBufferMessage\u003c/code\u003e, indicating its role in data representation and manipulation.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLayout\u003c/code\u003e class offers a default constructor and a constructor that accepts another \u003ccode\u003eDocument.Types.Layout\u003c/code\u003e object for creating instances and creating copies.\u003c/p\u003e\n"],["\u003cp\u003eKey properties of the \u003ccode\u003eLayout\u003c/code\u003e class include \u003ccode\u003eBoundingPoly\u003c/code\u003e (for text segment position), \u003ccode\u003ePageNumber\u003c/code\u003e (for page location), \u003ccode\u003eTextSegment\u003c/code\u003e (for the text content), and \u003ccode\u003eTextSegmentType\u003c/code\u003e (for the segment's type).\u003c/p\u003e\n"],["\u003cp\u003eThis content includes details of versions from 2.2.0 to the latest version 3.4.0, however, the focus of the current content is on version 2.3.0.\u003c/p\u003e\n"]]],[],null,[]]