From: Mark Lu Date: Fri, 16 Dec 2016 22:23:47 +0000 (-0800) Subject: docs: update Paint.setTextSize() to indicate pixel units X-Git-Tag: android-x86-7.1-r1~66^2~15^2~2 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=5f052561063597043938d69064872a209ace8ffa;p=android-x86%2Fframeworks-base.git docs: update Paint.setTextSize() to indicate pixel units bug: 2321154 Change-Id: Ic71404677a8079c744b99d4848d69c6ff52089ab --- diff --git a/graphics/java/android/graphics/Paint.java b/graphics/java/android/graphics/Paint.java index cfbe672a4cd6..cac9537ab023 100644 --- a/graphics/java/android/graphics/Paint.java +++ b/graphics/java/android/graphics/Paint.java @@ -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);