docs: update Paint.setTextSize() to indicate pixel units am: 5f05256106
am: 9c834b1241
Change-Id: I6ab667b17df3101370ed57f30ab273077a27c346
This commit is contained in:
@@ -1404,7 +1404,7 @@ public class Paint {
|
||||
/**
|
||||
* Return the paint's text size.
|
||||
*
|
||||
* @return the paint's text size.
|
||||
* @return the paint's text size in pixel units.
|
||||
*/
|
||||
public float getTextSize() {
|
||||
return nGetTextSize(mNativePaint);
|
||||
@@ -1415,7 +1415,7 @@ public class Paint {
|
||||
/**
|
||||
* Set the paint's text size. This value must be > 0
|
||||
*
|
||||
* @param textSize set the paint's text size.
|
||||
* @param textSize set the paint's text size in pixel units.
|
||||
*/
|
||||
public void setTextSize(float textSize) {
|
||||
nSetTextSize(mNativePaint, textSize);
|
||||
|
||||
Reference in New Issue
Block a user