import RoundCornersAction from "./RoundCornersAction";
/**
* @summary action
* @description Rounds the specified corners of an image or a video by specifying 1-4 pixel values as follows:
*
* * 1 value: All four corners are rounded equally according to the specified value.
* * 2 values: 1st value => top-left & bottom-right. 2nd value => top-right & bottom-left.
* * 3 values: 1st value => top-left. 2nd value => top-right & bottom-left. 3rd value => bottom-right.
* * 4 values: Each corner specified separately, in clockwise order, starting with top-left.
*
* @param {number} a
* @param {number} b
* @param {number} c
* @param {number} d
* @memberOf Actions.RoundCorners
* @return {Actions.RoundCorners.RoundCornersAction}
*/
function byRadius(a:number, b?:number, c?:number, d?:number):RoundCornersAction {
return new RoundCornersAction().radius(a, b, c, d);
}
export default byRadius;