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

Commit 395e8c99 authored by TreeHugger Robot's avatar TreeHugger Robot Committed by Android (Google) Code Review
Browse files

Merge "Fix RadialGradient Javadocs" into sc-dev

parents c1c3ab17 33ceaf8f
Loading
Loading
Loading
Loading
+12 −8
Original line number Original line Diff line number Diff line
@@ -122,14 +122,18 @@ public class RadialGradient extends Shader {
     *                 between the center and edge of the circle.
     *                 between the center and edge of the circle.
     * @param tileMode The Shader tiling mode
     * @param tileMode The Shader tiling mode
     *
     *
     * @throws IllegalArgumentException If one of the following circumstances:
     * @throws IllegalArgumentException In one of the following circumstances:
     *      - There are less than two colors
     *      <ul>
     *      - The colors do not share the same {@link ColorSpace}
     *          <li>There are less than two colors</li>
     *      - The colors do not use a valid {@link ColorSpace}
     *          <li>The colors do not share the same {@link ColorSpace}</li>
     *      - The {@code stops} parameter is not {@code null} and has a different length
     *          <li>The colors do not use a valid {@link ColorSpace}</li>
     *        from {@code colors}.
     *          <li>
     *      - The {@param startRadius} is negative
     *              The {@code stops} parameter is not {@code null} and has a different length from
     *      - The {@param endRadius} is less than or equal to zero
     *              {@code colors}.
     *          </li>
     *          <li>The {@code startRadius} is negative</li>
     *          <li>The {@code endRadius} is less than or equal to zero</li>
     *       </ul>
     */
     */
    public RadialGradient(float startX, float startY, @FloatRange(from = 0.0f) float startRadius,
    public RadialGradient(float startX, float startY, @FloatRange(from = 0.0f) float startRadius,
            float endX, float endY, @FloatRange(from = 0.0f, fromInclusive = false) float endRadius,
            float endX, float endY, @FloatRange(from = 0.0f, fromInclusive = false) float endRadius,