public static interface Document.Page.Token.StyleInfoOrBuilder
extends com.google.protobuf.MessageOrBuilder
| Modifier and Type | Method and Description |
|---|---|
com.google.type.Color |
getBackgroundColor()
Color of the background.
|
com.google.type.ColorOrBuilder |
getBackgroundColorOrBuilder()
Color of the background.
|
boolean |
getBold()
Whether the text is bold (equivalent to
[font_weight][google.cloud.documentai.v1beta2.Document.Page.Token.StyleInfo.font_weight]
is at least `700`).
|
int |
getFontSize()
Font size in points (`1` point is `¹⁄₇₂` inches).
|
String |
getFontType()
Name or style of the font.
|
com.google.protobuf.ByteString |
getFontTypeBytes()
Name or style of the font.
|
int |
getFontWeight()
TrueType weight on a scale `100` (thin) to `1000` (ultra-heavy).
|
boolean |
getHandwritten()
Whether the text is handwritten.
|
boolean |
getItalic()
Whether the text is italic.
|
double |
getLetterSpacing()
Letter spacing in points.
|
double |
getPixelFontSize()
Font size in pixels, equal to _unrounded
[font_size][google.cloud.documentai.v1beta2.Document.Page.Token.StyleInfo.font_size]_
* _resolution_ ÷ `72.0`.
|
boolean |
getSmallcaps()
Whether the text is in small caps.
|
boolean |
getStrikeout()
Whether the text is strikethrough.
|
boolean |
getSubscript()
Whether the text is a subscript.
|
boolean |
getSuperscript()
Whether the text is a superscript.
|
com.google.type.Color |
getTextColor()
Color of the text.
|
com.google.type.ColorOrBuilder |
getTextColorOrBuilder()
Color of the text.
|
boolean |
getUnderlined()
Whether the text is underlined.
|
boolean |
hasBackgroundColor()
Color of the background.
|
boolean |
hasTextColor()
Color of the text.
|
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneofint getFontSize()
Font size in points (`1` point is `¹⁄₇₂` inches).
int32 font_size = 1;double getPixelFontSize()
Font size in pixels, equal to _unrounded [font_size][google.cloud.documentai.v1beta2.Document.Page.Token.StyleInfo.font_size]_ * _resolution_ ÷ `72.0`.
double pixel_font_size = 2;double getLetterSpacing()
Letter spacing in points.
double letter_spacing = 3;String getFontType()
Name or style of the font.
string font_type = 4;com.google.protobuf.ByteString getFontTypeBytes()
Name or style of the font.
string font_type = 4;boolean getBold()
Whether the text is bold (equivalent to [font_weight][google.cloud.documentai.v1beta2.Document.Page.Token.StyleInfo.font_weight] is at least `700`).
bool bold = 5;boolean getItalic()
Whether the text is italic.
bool italic = 6;boolean getUnderlined()
Whether the text is underlined.
bool underlined = 7;boolean getStrikeout()
Whether the text is strikethrough.
bool strikeout = 8;boolean getSubscript()
Whether the text is a subscript.
bool subscript = 9;boolean getSuperscript()
Whether the text is a superscript.
bool superscript = 10;boolean getSmallcaps()
Whether the text is in small caps.
bool smallcaps = 11;int getFontWeight()
TrueType weight on a scale `100` (thin) to `1000` (ultra-heavy). Normal is `400`, bold is `700`.
int32 font_weight = 12;boolean getHandwritten()
Whether the text is handwritten.
bool handwritten = 13;boolean hasTextColor()
Color of the text.
.google.type.Color text_color = 14;com.google.type.Color getTextColor()
Color of the text.
.google.type.Color text_color = 14;com.google.type.ColorOrBuilder getTextColorOrBuilder()
Color of the text.
.google.type.Color text_color = 14;boolean hasBackgroundColor()
Color of the background.
.google.type.Color background_color = 15;com.google.type.Color getBackgroundColor()
Color of the background.
.google.type.Color background_color = 15;com.google.type.ColorOrBuilder getBackgroundColorOrBuilder()
Color of the background.
.google.type.Color background_color = 15;Copyright © 2023 Google LLC. All rights reserved.