summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
author Mark Lu <marklu@google.com> 2016-12-19 20:21:21 +0000
committer android-build-merger <android-build-merger@google.com> 2016-12-19 20:21:21 +0000
commit353e197a8a4d87b360b4d7cf57f32da8535cdb2f (patch)
tree6a283ed3ed43bfd34fb259cac69f5fade8c7bc6c
parent73dcab62b73f9eb49c179c6b8cf95a1385f3064a (diff)
parent9c834b1241113473aa561b845c35f2e8311c5e27 (diff)
docs: update Paint.setTextSize() to indicate pixel units am: 5f05256106
am: 9c834b1241 Change-Id: I3288982f953f36ae08a36ca324edb6937633bd18
-rw-r--r--graphics/java/android/graphics/Paint.java4
1 files changed, 2 insertions, 2 deletions
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);