You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*/
public boolean contains(float x, float y) {
// TODO: Check if this graphic's text contains this point.
if (text == null) {
return false;
}
RectF rect = new RectF(text.getBoundingBox());
rect = translateRect(rect);
return rect.contains(x, y);
}
// IN THE GIVEN CODE IN THE SAMPLE,contains is written as contans
so,this shows up an error.
please correct it.
The text was updated successfully, but these errors were encountered:
*/
public boolean contains(float x, float y) {
// TODO: Check if this graphic's text contains this point.
if (text == null) {
return false;
}
RectF rect = new RectF(text.getBoundingBox());
rect = translateRect(rect);
return rect.contains(x, y);
}
// IN THE GIVEN CODE IN THE SAMPLE,contains is written as contans
so,this shows up an error.
please correct it.
The text was updated successfully, but these errors were encountered: