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

Commit d20c23b1 authored by Joshua Baxter's avatar Joshua Baxter
Browse files

docs: Fix docs for Canvas#drawTextOnPath

add parameter descriptions for index and count in drawTextOnPath
fix a couple of typos

test: make ds-docs
Bug: 36969777
Change-Id: I7c451fac4468fb2066b9b29a321fad57785a8a36
parent eda85079
Loading
Loading
Loading
Loading
+4 −2
Original line number Diff line number Diff line
@@ -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