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
Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder
isInitializedMethods inherited from interface com.google.protobuf.MessageOrBuilder
findInitializationErrors, getAllFields, getDefaultInstanceForType, getDescriptorForType, getField, getInitializationErrorString, getOneofFieldDescriptor, getRepeatedField, getRepeatedFieldCount, getUnknownFields, hasField, hasOneof
-
Method Details
-
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.
-