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

    Modifier and Type
    Method
    Description
    float
    Font size for the text.
    Unit for the font size.
    com.google.protobuf.ByteString
    Unit for the font size.

    Methods inherited from interface com.google.protobuf.MessageLiteOrBuilder

    isInitialized

    Methods 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.