From 33ceaf8f955457b2b7d54a367858634a477b139f Mon Sep 17 00:00:00 2001 From: Nader Jawad Date: Tue, 18 May 2021 10:34:21 -0700 Subject: [PATCH] Fix RadialGradient Javadocs Fixed issue where Javadoc references were not displayed and the list of circumstances in which exceptions would be thrown was not separated by line breaks Fixes: 188102023 Test: N/A Change-Id: Ibdba7c26e053bdba5d8cff21f1cb7c0764f5a4f1 --- .../java/android/graphics/RadialGradient.java | 20 +++++++++++-------- 1 file changed, 12 insertions(+), 8 deletions(-) diff --git a/graphics/java/android/graphics/RadialGradient.java b/graphics/java/android/graphics/RadialGradient.java index 199365e9a1e20..e582e66e16278 100644 --- a/graphics/java/android/graphics/RadialGradient.java +++ b/graphics/java/android/graphics/RadialGradient.java @@ -122,14 +122,18 @@ public class RadialGradient extends Shader { * between the center and edge of the circle. * @param tileMode The Shader tiling mode * - * @throws IllegalArgumentException If one of the following circumstances: - * - There are less than two colors - * - The colors do not share the same {@link ColorSpace} - * - The colors do not use a valid {@link ColorSpace} - * - The {@code stops} parameter is not {@code null} and has a different length - * from {@code colors}. - * - The {@param startRadius} is negative - * - The {@param endRadius} is less than or equal to zero + * @throws IllegalArgumentException In one of the following circumstances: + * */ public RadialGradient(float startX, float startY, @FloatRange(from = 0.0f) float startRadius, float endX, float endY, @FloatRange(from = 0.0f, fromInclusive = false) float endRadius,