Googly.DocumentAI.Model.GoogleCloudDocumentaiV1DocumentStyle (googly_document_ai v0.1.0)

Copy Markdown View Source

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

Attributes

  • background_color (type: Googly.DocumentAI.Model.GoogleTypeColor.t()) - Text background color.
  • color (type: Googly.DocumentAI.Model.GoogleTypeColor.t()) - Text color.
  • font_family (type: String.t()) - Font family such as Arial, Times New Roman. https://www.w3schools.com/cssref/pr_font_font-family.asp
  • font_size (type: Googly.DocumentAI.Model.GoogleCloudDocumentaiV1DocumentStyleFontSize.t()) - Font size.
  • font_weight (type: String.t()) - Font weight. Possible values are normal, bold, bolder, and lighter.
  • text_anchor (type: Googly.DocumentAI.Model.GoogleCloudDocumentaiV1DocumentTextAnchor.t()) - Text anchor indexing into the Document.text.
  • text_decoration (type: String.t()) - Text decoration. Follows CSS standard.
  • text_style (type: String.t()) - Text style. Possible values are normal, italic, and oblique.

Summary

Types

t()

@type t() :: %Googly.DocumentAI.Model.GoogleCloudDocumentaiV1DocumentStyle{
  background_color: Googly.DocumentAI.Model.GoogleTypeColor.t() | nil,
  color: Googly.DocumentAI.Model.GoogleTypeColor.t() | nil,
  font_family: String.t() | nil,
  font_size:
    Googly.DocumentAI.Model.GoogleCloudDocumentaiV1DocumentStyleFontSize.t()
    | nil,
  font_weight: String.t() | nil,
  text_anchor:
    Googly.DocumentAI.Model.GoogleCloudDocumentaiV1DocumentTextAnchor.t() | nil,
  text_decoration: String.t() | nil,
  text_style: String.t() | nil
}