OSDN Git Service

AI 148752: Fix description of breakText() param.
authorDirk Dougherty <nobody@android.com>
Tue, 12 May 2009 21:10:20 +0000 (14:10 -0700)
committerThe Android Open Source Project <initial-contribution@android.com>
Tue, 12 May 2009 21:10:20 +0000 (14:10 -0700)
  BUG=1790234

Automated import of CL 148752

graphics/java/android/graphics/Paint.java

index 81980d9..862e827 100644 (file)
@@ -1084,8 +1084,9 @@ public class Paint {
      * not null, return in it the actual width measured.
      *
      * @param text  The text to measure
-     * @param measureForwards If true, measure forwards, starting at index.
-     *                        Otherwise, measure backwards, starting with the
+     * @param measureForwards If true, measure forwards, starting with the
+     *                        first character in the string. Otherwise,
+     *                        measure backwards, starting with the
      *                        last character in the string.
      * @param maxWidth The maximum width to accumulate.
      * @param measuredWidth Optional. If not null, returns the actual width