Class PromptText
- java.lang.Object
- 
- uk.co.samuelwall.materialtaptargetprompt.extras.PromptText
 
- 
 public class PromptText extends java.lang.Object
- 
- 
Constructor SummaryConstructors Constructor Description PromptText()
 - 
Method SummaryAll Methods Instance Methods Concrete Methods Modifier and Type Method Description booleancontains(float x, float y)voiddraw(android.graphics.Canvas canvas)android.graphics.RectFgetBounds()Get the window position for the prompt text.voidprepare(PromptOptions options, boolean clipToBounds, android.graphics.Rect clipBounds)Recalculates the primary and secondary text positions.voidupdate(PromptOptions options, float revealModifier, float alphaModifier)
 
- 
- 
- 
Method Detail- 
getBounds@NonNull public android.graphics.RectF getBounds() Get the window position for the prompt text.- Returns:
- The prompt text bounds.
 
 - 
preparepublic void prepare(@NonNull PromptOptions options, boolean clipToBounds, @NonNull android.graphics.Rect clipBounds)Recalculates the primary and secondary text positions.
 - 
updatepublic void update(@NonNull PromptOptions options, float revealModifier, float alphaModifier)
 - 
drawpublic void draw(@NonNull android.graphics.Canvas canvas)
 - 
containspublic boolean contains(float x, float y)
 
- 
 
-