GoogleCloudDocumentaiV1DocumentStyle

GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentStyle


Table of Contents ▼

Jump to a specific part of the page:

Description

Annotation for common text style attributes. This adheres to CSS conventions as much as possible.

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)
    - Text background color.
  2. color (type: GoogleApi.ContentWarehouse.V1.Model.GoogleTypeColor, default: nil)
    - Text color.
  3. fontFamily (type: String.t, default: nil)
    - Font family such as Arial, Times New Roman. https://www.w3schools.com/cssref/pr_font_font-family.asp
  4. fontSize (type: GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentStyleFontSize, default: nil)
    - Font size.
  5. fontWeight (type: String.t, default: nil)
    - Font weight. Possible values are normal, bold, bolder, and lighter.
  6. textAnchor (type: GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentTextAnchor, default: nil)
    - Text anchor indexing into the Document.text.
  7. textDecoration (type: String.t, default: nil)
    - Text decoration. Follows CSS standard.
  8. textStyle (type: String.t, default: nil)
    - Text style. Possible values are normal, italic, and oblique.

Type

@type t() :: %GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentStyle{
backgroundColor: GoogleApi.ContentWarehouse.V1.Model.GoogleTypeColor.t() | nil,
color: GoogleApi.ContentWarehouse.V1.Model.GoogleTypeColor.t() | nil,
fontFamily: String.t() | nil,
fontSize: GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentStyleFontSize.t() | nil,
fontWeight: String.t() | nil,
textAnchor: GoogleApi.ContentWarehouse.V1.Model.GoogleCloudDocumentaiV1DocumentTextAnchor.t() | nil,
textDecoration: String.t() | nil,
textStyle: String.t() | nil
}

Function

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

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