Class Style (2.30.0)

Style(mapping=None, *, ignore_unknown_fields=False, **kwargs)

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

Attributes

Name Description
text_anchor google.cloud.documentai_v1beta3.types.Document.TextAnchor
Text anchor indexing into the Document.text.
color google.type.color_pb2.Color
Text color.
background_color google.type.color_pb2.Color
Text background color.
font_weight str
`Font weight
text_style str
`Text style
text_decoration str
`Text decoration
font_size google.cloud.documentai_v1beta3.types.Document.Style.FontSize
Font size.
font_family str
Font family such as Arial, Times New Roman. https://www.w3schools.com/cssref/pr_font_font-family.asp

Classes

FontSize

FontSize(mapping=None, *, ignore_unknown_fields=False, **kwargs)

Font size with unit.