Interface Document.Style.FontSizeOrBuilder

    • Method Summary

      All Methods Instance Methods Abstract Methods 
      Modifier and Type Method Description
      float getSize()
      Font size for the text.
      String getUnit()
      Unit for the font size.
      com.google.protobuf.ByteString getUnitBytes()
      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 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 (in, px, pt, etc.).
         
        string unit = 2;
        Returns:
        The unit.
      • getUnitBytes

        com.google.protobuf.ByteString getUnitBytes()
         Unit for the font size. Follows CSS naming (in, px, pt, etc.).
         
        string unit = 2;
        Returns:
        The bytes for unit.