* @see Drawable#getOutline(Outline)
*/
public final class Outline {
- private static final float RADIUS_UNDEFINED = -1.0f;
+ private static final float RADIUS_UNDEFINED = Float.NEGATIVE_INFINITY;
/** @hide */
public Path mPath;
}
/**
- * Returns the rounded rect radius, if set, or {@code -1} if a path has
+ * Returns the rounded rect radius, if set, or a value less than 0 if a path has
* been set via {@link #setConvexPath(Path)}. A return value of {@code 0}
* indicates a non-rounded rect.
*
- * @return the rounded rect radius or {@code -1}
+ * @return the rounded rect radius, or value < 0
*/
public float getRadius() {
return mRadius;