Package 

Class TextParams

  • All Implemented Interfaces:

    
    public final class TextParams
    
                        

    It's a data class that holds the parameters for a PopUpWindow text container.

    • Nested Class Summary

      Nested Classes 
      Modifier and Type Class Description
      public class TextParams.Companion
    • Constructor Summary

      Constructors 
      Constructor Description
      TextParams(Float textSize, String defaultText, Integer textColor, Integer textWidth, Integer textHeight)
    • Enum Constant Summary

      Enum Constants 
      Enum Constant Description
    • Method Summary

      Modifier and Type Method Description
      final Float getTextSize()
      final String getDefaultText()
      final Integer getTextColor()
      final Integer getTextWidth()
      final Integer getTextHeight()
      • Methods inherited from class java.lang.Object

        clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait
    • Constructor Detail

      • TextParams

        TextParams(Float textSize, String defaultText, Integer textColor, Integer textWidth, Integer textHeight)
        Parameters:
        textSize -
        • The value to apply the unit to. (Value is a scaled pixel.)

        defaultText -
        • The text will be displayed for first-time auto-zoom debug info after enabling.

        textColor -
        • A color value in the form 0xAARRGGBB. Do not pass a resource ID. To get a color value from a resource ID, call getColor.

        textWidth -
        • the text container width

        textHeight -
        • the text container height