Android: Is Paint.breaktext(...) Inaccurate?
I have a View which draws a rectangle with a line of text inside of it. The view uses break text to ensure that no text extends outside of the rectangle; it ignores any text that
Solution 1:
This was fixed by: Paint.setSubpixelText(true);
Solution 2:
The problem might be how you draw your rectangle. Strokes are not outside of the rectangle, half of the stroke is inside, half is outside.
Post a Comment for "Android: Is Paint.breaktext(...) Inaccurate?"