public RoundingParams setCornersRadii(float[] radii) {
    Preconditions.checkNotNull(radii);
    Preconditions.checkArgument(radii.length == 8, "radii should have exactly 8 values");
    System.arraycopy(radii, 0, getOrCreateRoundedCornersRadii(), 0, 8);
    return this;
  }
public RoundingParams setCornersRadii ( float [ ] radii ) { Preconditions . checkNotNull ( radii ) ; Preconditions . checkArgument ( radii . length == 8 , "radii should have exactly 8 values" ) ; System . arraycopy ( radii , 0 , getOrCreateRoundedCornersRadii ( ) , 0 , 8 ) ; return this ; }
Sets the rounded corners radii.

@param radii float array of 8 radii in pixels. Each corner receives two radius values [X, Y].
The corners are ordered top-left, top-right, bottom-right, bottom-left.
@return modified instance