Class Style

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

Attributes
NameDescription
google.cloud.documentai_v1beta3.types.Document.TextAnchortext_anchor
Text anchor indexing into the Document.text.
google.type.color_pb2.Colorcolor
Text color.
google.type.color_pb2.Colorbackground_color
Text background color.
strfont_weight
Font weight. Possible values are normal, bold, bolder, and lighter. https://www.w3schools.com/cssref/pr_font_weight.asp
strtext_style
Text style. Possible values are normal, italic, and oblique. https://www.w3schools.com/cssref/pr_font_font-style.asp
strtext_decoration
Text decoration. Follows CSS standard. https://www.w3schools.com/cssref/pr_text_text-decoration.asp
google.cloud.documentai_v1beta3.types.Document.Style.FontSizefont_size
Font size.

Inheritance

builtins.object > proto.message.Message > Style

Classes

FontSize

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

Font size with unit.