Class PromptText
java.lang.Object
uk.co.samuelwall.materialtaptargetprompt.extras.PromptText
public class PromptText
extends java.lang.Object
-
Constructor Summary
Constructors Constructor Description PromptText()
-
Method Summary
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 Details
-
PromptText
public PromptText()
-
-
Method Details
-
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
-
draw
public void draw(@NonNull android.graphics.Canvas canvas) -
contains
public boolean contains(float x, float y)
-