Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit b9277312 authored by Mark Lu's avatar Mark Lu Committed by android-build-merger
Browse files

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

docs: update Paint.setTextSize() to indicate pixel units am: 5f052561 am: 9c834b12 am: 4da32668
am: 84f12cd3

Change-Id: I463334d7c43cb934848e10eb3040f4a898f6ed2c
parents 68b86f19 84f12cd3
Loading
Loading
Loading
Loading
+2 −2
Original line number Original line Diff line number Diff line
@@ -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.
     * @return the paint's text size in pixel units.
     */
     */
    public float getTextSize() {
    public float getTextSize() {
        return nGetTextSize(mNativePaint);
        return nGetTextSize(mNativePaint);
@@ -1366,7 +1366,7 @@ public class Paint {
    /**
    /**
     * Set the paint's text size. This value must be > 0
     * 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) {
    public void setTextSize(float textSize) {
        nSetTextSize(mNativePaint, textSize);
        nSetTextSize(mNativePaint, textSize);