Google Cloud Documentai V1Document Style Response
data class GoogleCloudDocumentaiV1DocumentStyleResponse(val backgroundColor: GoogleTypeColorResponse, val color: GoogleTypeColorResponse, val fontFamily: String, val fontSize: GoogleCloudDocumentaiV1DocumentStyleFontSizeResponse, val fontWeight: String, val textAnchor: GoogleCloudDocumentaiV1DocumentTextAnchorResponse, val textDecoration: String, val textStyle: String)
Annotation for common text style attributes. This adheres to CSS conventions as much as possible.
Constructors
Link copied to clipboard
constructor(backgroundColor: GoogleTypeColorResponse, color: GoogleTypeColorResponse, fontFamily: String, fontSize: GoogleCloudDocumentaiV1DocumentStyleFontSizeResponse, fontWeight: String, textAnchor: GoogleCloudDocumentaiV1DocumentTextAnchorResponse, textDecoration: String, textStyle: String)
Properties
Link copied to clipboard
Text background color.
Link copied to clipboard
Text color.
Link copied to clipboard
Font family such as Arial
, Times New Roman
. https://www.w3schools.com/cssref/pr_font_font-family.asp
Link copied to clipboard
Font size.
Link copied to clipboard
Font weight. Possible values are normal, bold, bolder, and lighter. https://www.w3schools.com/cssref/pr_font_weight.asp
Link copied to clipboard
Text anchor indexing into the Document.text.
Link copied to clipboard
Text decoration. Follows CSS standard. https://www.w3schools.com/cssref/pr_text_text-decoration.asp