GoogleCloudDocumentaiV1DocumentPageTokenStyleInfo

GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentPageTokenStyleInfo


Table of Contents ▼

Jump to a specific part of the page:

Description

Font and other text style attributes.

Attributes List

This module has the following attributes (case-insensitive ascending order):

View Attributes

Attributes

  1. backgroundColor (type: GoogleApi.ContentWarehouse.V1.Model.GoogleTypeColor, default: nil)
    - Color of the background.
  2. bold (type: boolean(), default: nil)
    - Whether the text is bold (equivalent to font_weight is at least 700).
  3. fontSize (type: integer(), default: nil)
    - Font size in points (1 point is ¹⁄₇₂ inches).
  4. fontType (type: String.t, default: nil)
    - Name or style of the font.
  5. fontWeight (type: integer(), default: nil)
    - TrueType weight on a scale 100 (thin) to 1000 (ultra-heavy). Normal is 400, bold is 700.
  6. handwritten (type: boolean(), default: nil)
    - Whether the text is handwritten.
  7. italic (type: boolean(), default: nil)
    - Whether the text is italic.
  8. letterSpacing (type: float(), default: nil)
    - Letter spacing in points.
  9. pixelFontSize (type: float(), default: nil)
    - Font size in pixels, equal to unrounded font_size * resolution ÷ 72.0.
  10. smallcaps (type: boolean(), default: nil)
    - Whether the text is in small caps.
  11. strikeout (type: boolean(), default: nil)
    - Whether the text is strikethrough.
  12. subscript (type: boolean(), default: nil)
    - Whether the text is a subscript.
  13. superscript (type: boolean(), default: nil)
    - Whether the text is a superscript.
  14. textColor (type: GoogleApi.ContentWarehouse.V1.Model.GoogleTypeColor, default: nil)
    - Color of the text.
  15. underlined (type: boolean(), default: nil)
    - Whether the text is underlined.

Type

@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
}

Function

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

Data sourced from HexDocs : GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentPageTokenStyleInfo