docs: update Paint.setTextSize() to indicate pixel units am: 5f05256106 am: 9c834b1241 am: 4da3266828

am: 84f12cd33e

Change-Id: I463334d7c43cb934848e10eb3040f4a898f6ed2c
This commit is contained in:
Mark Lu
2016-12-19 20:34:29 +00:00
committed by android-build-merger

View File

@@ -1357,7 +1357,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);
@@ -1366,7 +1366,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);