Package com.google.cloud.documentai.v1
Interface Document.Style.FontSizeOrBuilder
-
- All Superinterfaces:
com.google.protobuf.MessageLiteOrBuilder,com.google.protobuf.MessageOrBuilder
- All Known Implementing Classes:
Document.Style.FontSize,Document.Style.FontSize.Builder
- Enclosing class:
- Document.Style
public static interface Document.Style.FontSizeOrBuilder extends com.google.protobuf.MessageOrBuilder
-
-
Method Summary
All Methods Instance Methods Abstract Methods Modifier and Type Method Description floatgetSize()Font size for the text.StringgetUnit()Unit for the font size.com.google.protobuf.ByteStringgetUnitBytes()Unit for the font size.-
Methods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
-
-
-
Method Detail
-
getSize
float getSize()
Font size for the text.
float size = 1;- Returns:
- The size.
-
getUnit
String getUnit()
Unit for the font size. Follows CSS naming (such as `in`, `px`, and `pt`).
string unit = 2;- Returns:
- The unit.
-
getUnitBytes
com.google.protobuf.ByteString getUnitBytes()
Unit for the font size. Follows CSS naming (such as `in`, `px`, and `pt`).
string unit = 2;- Returns:
- The bytes for unit.
-
-