RoundedCorners

Adds rounded corners to the current image.

public ImageFactory RoundedCorners(int radius)
    

Parameters

radius
The radius at which the corner will be rounded.
public ImageFactory RoundedCorners(RoundedCornerLayer roundedCornersLayer)
    

Parameters

roundedCornersLayer
The ImageProcessor.Imaging.RoundedCornerLayer containing the following properties to round corners on the image.
Radius
The radius at which the corner will be rounded.
TopLeft
A value indicating whether top left corners are to be added.
TopRight
A value indicating whether top right corners are to be added.
BottomLeft
A value indicating whether bottom left corners are to be added.
BottomRight
A value indicating whether bottom right corners are to be added.

Examples

Original

original image

100px Rounded Corners

Image with 100px rounded corners