docs: update Paint.setTextSize() to indicate pixel units

am: 5f05256106

Change-Id: I9709ea36fe7657c8a06abe1c58760b30112e0e63
This commit is contained in:
Mark Lu
2016-12-19 20:16:15 +00:00
committed by android-build-merger

View File

@@ -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);