Googly. DocumentAI. Model. GoogleCloudDocumentaiV1DocumentPageTokenStyleInfo
(googly_document_ai v0.1.0)
Copy Markdown
View Source
Font and other text style attributes.
Attributes
-
background_color(type:Googly.DocumentAI.Model.GoogleTypeColor.t()) - Color of the background. -
bold(type:boolean()) - Whether the text is bold (equivalent to font_weight is at least700). -
font_size(type:integer()) - Font size in points (1point is¹⁄₇₂inches). -
font_type(type:String.t()) - Name or style of the font. -
font_weight(type:integer()) - TrueType weight on a scale100(thin) to1000(ultra-heavy). Normal is400, bold is700. -
handwritten(type:boolean()) - Whether the text is handwritten. -
italic(type:boolean()) - Whether the text is italic. -
letter_spacing(type:float()) - Letter spacing in points. -
pixel_font_size(type:float()) - Font size in pixels, equal to unrounded font_size * resolution ÷72.0. -
smallcaps(type:boolean()) - Whether the text is in small caps. This feature is not supported yet. -
strikeout(type:boolean()) - Whether the text is strikethrough. This feature is not supported yet. -
subscript(type:boolean()) - Whether the text is a subscript. This feature is not supported yet. -
superscript(type:boolean()) - Whether the text is a superscript. This feature is not supported yet. -
text_color(type:Googly.DocumentAI.Model.GoogleTypeColor.t()) - Color of the text. -
underlined(type:boolean()) - Whether the text is underlined.
Summary
Types
@type t() :: %Googly.DocumentAI.Model.GoogleCloudDocumentaiV1DocumentPageTokenStyleInfo{ background_color: Googly.DocumentAI.Model.GoogleTypeColor.t() | nil, bold: boolean() | nil, font_size: integer() | nil, font_type: String.t() | nil, font_weight: integer() | nil, handwritten: boolean() | nil, italic: boolean() | nil, letter_spacing: float() | nil, pixel_font_size: float() | nil, smallcaps: boolean() | nil, strikeout: boolean() | nil, subscript: boolean() | nil, superscript: boolean() | nil, text_color: Googly.DocumentAI.Model.GoogleTypeColor.t() | nil, underlined: boolean() | nil }