Render styles improvements
This commit is contained in:
@@ -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);
|
||||
|
||||
Reference in New Issue
Block a user