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

Commit cfbad0b3 authored by Chris Craik's avatar Chris Craik Committed by Android Git Automerger
Browse files

am 3e7dbf53: Merge "Document that degenerate lines wont be drawn" into jb-mr2-dev

* commit '3e7dbf53':
  Document that degenerate lines wont be drawn
parents 1be2b682 3e7dbf53
Loading
Loading
Loading
Loading
+5 −2
Original line number Diff line number Diff line
@@ -867,8 +867,11 @@ public class Canvas {

    /**
     * Draw a line segment with the specified start and stop x,y coordinates,
     * using the specified paint. NOTE: since a line is always "framed", the
     * Style is ignored in the paint.
     * using the specified paint.
     *
     * <p>Note that since a line is always "framed", the Style is ignored in the paint.</p>
     *
     * <p>Degenerate lines (length is 0) will not be drawn.</p>
     *
     * @param startX The x-coordinate of the start point of the line
     * @param startY The y-coordinate of the start point of the line