Render styles improvements

This commit is contained in:
Emux
2016-12-10 22:50:07 +02:00
parent 02db7ca08d
commit 1de6ca8fb7
10 changed files with 49 additions and 19 deletions

View File

@@ -134,6 +134,11 @@ class AndroidPaint implements Paint {
return Math.abs(fm.bottom);
}
@Override
public float getStrokeWidth() {
return mPaint.getStrokeWidth();
}
@Override
public float getTextHeight(String text) {
mPaint.getTextBounds(text, 0, text.length(), rect);