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\u003eThe \u003ccode\u003eDocument.Types.Layout\u003c/code\u003e class provides layout information for text segments within a document, and version 3.4.0 is the latest version.\u003c/p\u003e\n"],["\u003cp\u003eThis class, \u003ccode\u003eLayout\u003c/code\u003e, describes the location and properties of a \u003ccode\u003etext_segment\u003c/code\u003e in a document, and has an inheritance from \u003ccode\u003eObject\u003c/code\u003e and several interfaces such as \u003ccode\u003eIMessage\u003c/code\u003e, \u003ccode\u003eIEquatable\u003c/code\u003e, and \u003ccode\u003eIDeepCloneable\u003c/code\u003e.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLayout\u003c/code\u003e class has properties such as \u003ccode\u003eBoundingPoly\u003c/code\u003e, \u003ccode\u003ePageNumber\u003c/code\u003e, \u003ccode\u003eTextSegment\u003c/code\u003e, and \u003ccode\u003eTextSegmentType\u003c/code\u003e, which provide details like the position, page number, and type of a text segment.\u003c/p\u003e\n"],["\u003cp\u003eThe \u003ccode\u003eLayout\u003c/code\u003e class contains two constructors, \u003ccode\u003eLayout()\u003c/code\u003e for a default constructor and \u003ccode\u003eLayout(Document.Types.Layout other)\u003c/code\u003e for a constructor that copies from another layout object.\u003c/p\u003e\n"],["\u003cp\u003eThe available versions for this class range from 2.2.0 to the latest version 3.4.0, and each version is accessible via links to their respective documentation.\u003c/p\u003e\n"]]],[],null,[]]