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.RoundedCornerLayercontaining 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
100px Rounded Corners