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

Commit 5f052561 authored by Mark Lu's avatar Mark Lu
Browse files

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

bug: 2321154
Change-Id: Ic71404677a8079c744b99d4848d69c6ff52089ab
parent e161f75d
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -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);