Class PromptText


  • public class PromptText
    extends java.lang.Object
    • Constructor Summary

      Constructors 
      Constructor Description
      PromptText()  
    • Method Summary

      All Methods Instance Methods Concrete Methods 
      Modifier and Type Method Description
      boolean contains​(float x, float y)  
      void draw​(android.graphics.Canvas canvas)  
      android.graphics.RectF getBounds()
      Get the window position for the prompt text.
      void prepare​(PromptOptions options, boolean clipToBounds, android.graphics.Rect clipBounds)
      Recalculates the primary and secondary text positions.
      void update​(PromptOptions options, float revealModifier, float alphaModifier)  
      • Methods inherited from class java.lang.Object

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

      • PromptText

        public PromptText()
    • Method Detail

      • getBounds

        @NonNull
        public android.graphics.RectF getBounds()
        Get the window position for the prompt text.
        Returns:
        The prompt text bounds.
      • prepare

        public void prepare​(@NonNull
                            PromptOptions options,
                            boolean clipToBounds,
                            @NonNull
                            android.graphics.Rect clipBounds)
        Recalculates the primary and secondary text positions.
      • update

        public void update​(@NonNull
                           PromptOptions options,
                           float revealModifier,
                           float alphaModifier)
      • draw

        public void draw​(@NonNull
                         android.graphics.Canvas canvas)
      • contains

        public boolean contains​(float x,
                                float y)