View Source GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentPageTokenStyleInfo (google_api_content_warehouse v0.5.0)
Font and other text style attributes.
Attributes
-   
backgroundColor(type:GoogleApi.ContentWarehouse.V1.Model.GoogleTypeColor.t, default:nil) - Color of the background. -   
bold(type:boolean(), default:nil) - Whether the text is bold (equivalent to font_weight is at least700). -   
fontSize(type:integer(), default:nil) - Font size in points (1point is¹⁄₇₂inches). -   
fontType(type:String.t, default:nil) - Name or style of the font. -   
fontWeight(type:integer(), default:nil) - TrueType weight on a scale100(thin) to1000(ultra-heavy). Normal is400, bold is700. -   
handwritten(type:boolean(), default:nil) - Whether the text is handwritten. -   
italic(type:boolean(), default:nil) - Whether the text is italic. -   
letterSpacing(type:float(), default:nil) - Letter spacing in points. -   
pixelFontSize(type:float(), default:nil) - Font size in pixels, equal to unrounded font_size * resolution ÷72.0. -   
smallcaps(type:boolean(), default:nil) - Whether the text is in small caps. This feature is not supported yet. -   
strikeout(type:boolean(), default:nil) - Whether the text is strikethrough. This feature is not supported yet. -   
subscript(type:boolean(), default:nil) - Whether the text is a subscript. This feature is not supported yet. -   
superscript(type:boolean(), default:nil) - Whether the text is a superscript. This feature is not supported yet. -   
textColor(type:GoogleApi.ContentWarehouse.V1.Model.GoogleTypeColor.t, default:nil) - Color of the text. -   
underlined(type:boolean(), default:nil) - Whether the text is underlined. 
Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Types
@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentPageTokenStyleInfo{ backgroundColor: GoogleApi.ContentWarehouse.V1.Model.GoogleTypeColor.t() | nil, bold: boolean() | nil, fontSize: integer() | nil, fontType: String.t() | nil, fontWeight: integer() | nil, handwritten: boolean() | nil, italic: boolean() | nil, letterSpacing: float() | nil, pixelFontSize: float() | nil, smallcaps: boolean() | nil, strikeout: boolean() | nil, subscript: boolean() | nil, superscript: boolean() | nil, textColor: GoogleApi.ContentWarehouse.V1.Model.GoogleTypeColor.t() | nil, underlined: boolean() | nil }
Functions
Unwrap a decoded JSON object into its complex fields.