google_api_document_ai v0.4.0 GoogleApi.DocumentAI.V1beta2.Model.GoogleCloudDocumentaiV1beta1DocumentStyle View Source
Annotation for common text style attributes. This adheres to CSS conventions as much as possible.
Attributes
-
backgroundColor(type:GoogleApi.DocumentAI.V1beta2.Model.GoogleTypeColor.t, default:nil) - Text background color. -
color(type:GoogleApi.DocumentAI.V1beta2.Model.GoogleTypeColor.t, default:nil) - Text color. -
fontSize(type:GoogleApi.DocumentAI.V1beta2.Model.GoogleCloudDocumentaiV1beta1DocumentStyleFontSize.t, default:nil) - Font size. -
fontWeight(type:String.t, default:nil) - Font weight. Possible values are normal, bold, bolder, and lighter. https://www.w3schools.com/cssref/pr_font_weight.asp -
textAnchor(type:GoogleApi.DocumentAI.V1beta2.Model.GoogleCloudDocumentaiV1beta1DocumentTextAnchor.t, default:nil) - Text anchor indexing into the Document.text. -
textDecoration(type:String.t, default:nil) - Text decoration. Follows CSS standard. https://www.w3schools.com/cssref/pr_text_text-decoration.asp -
textStyle(type:String.t, default:nil) - Text style. Possible values are normal, italic, and oblique. https://www.w3schools.com/cssref/pr_font_font-style.asp
Link to this section Summary
Functions
Unwrap a decoded JSON object into its complex fields.
Link to this section Types
Specs
t() ::
%GoogleApi.DocumentAI.V1beta2.Model.GoogleCloudDocumentaiV1beta1DocumentStyle{
backgroundColor: GoogleApi.DocumentAI.V1beta2.Model.GoogleTypeColor.t(),
color: GoogleApi.DocumentAI.V1beta2.Model.GoogleTypeColor.t(),
fontSize:
GoogleApi.DocumentAI.V1beta2.Model.GoogleCloudDocumentaiV1beta1DocumentStyleFontSize.t(),
fontWeight: String.t(),
textAnchor:
GoogleApi.DocumentAI.V1beta2.Model.GoogleCloudDocumentaiV1beta1DocumentTextAnchor.t(),
textDecoration: String.t(),
textStyle: String.t()
}
Link to this section Functions
Specs
Unwrap a decoded JSON object into its complex fields.