summaryrefslogtreecommitdiff
path: root/graphics
diff options
context:
space:
mode:
authorJoshua Baxter <jbax@google.com>2019-11-11 14:29:15 -0800
committerandroid-build-merger <android-build-merger@google.com>2019-11-11 14:29:15 -0800
commit3f7792b9bc8137f22b78e4d744935e751367ba78 (patch)
tree70f2d7b8449cdb905823bfd8148ec8eba68ae6e1 /graphics
parent745dd02a152c2bd12cd9addd4424d40400022da1 (diff)
parentd59ed2f2a7cfe5c81fed8753bb25280f8a49ffcf (diff)
Merge "docs: Fix docs for Canvas#drawTextOnPath add parameter descriptions for index and count in drawTextOnPath fix a couple of typos" into qt-dev am: 228d235d5b am: 5f4d7e4ac5
am: d59ed2f2a7 Change-Id: I8e2b227a3e54c75feec00e574bf219c5a24e0d8f
Diffstat (limited to 'graphics')
-rw-r--r--graphics/java/android/graphics/Canvas.java6
1 files changed, 4 insertions, 2 deletions
diff --git a/graphics/java/android/graphics/Canvas.java b/graphics/java/android/graphics/Canvas.java
index 5648b854db40..a815f20293c5 100644
--- a/graphics/java/android/graphics/Canvas.java
+++ b/graphics/java/android/graphics/Canvas.java
@@ -2095,9 +2095,11 @@ public class Canvas extends BaseCanvas {
/**
* Draw the text, with origin at (x,y), using the specified paint, along the specified path. The
- * paint's Align setting determins where along the path to start the text.
+ * paint's Align setting determines where along the path to start the text.
*
* @param text The text to be drawn
+ * @param index The starting index within the text to be drawn
+ * @param count Starting from index, the number of characters to draw
* @param path The path the text should follow for its baseline
* @param hOffset The distance along the path to add to the text's starting position
* @param vOffset The distance above(-) or below(+) the path to position the text
@@ -2110,7 +2112,7 @@ public class Canvas extends BaseCanvas {
/**
* Draw the text, with origin at (x,y), using the specified paint, along the specified path. The
- * paint's Align setting determins where along the path to start the text.
+ * paint's Align setting determines where along the path to start the text.
*
* @param text The text to be drawn
* @param path The path the text should follow for its baseline