C# Class ImageProcessor.Processors.RoundedCorners

Encapsulates methods to add rounded corners to an image.
Inheritance: IGraphicsProcessor
Afficher le fichier Open project: JimBobSquarePants/ImageProcessor Class Usage Examples

Méthodes publiques

Méthode Description
ProcessImage ( ImageFactory factory ) : Image

Processes the image.

RoundedCorners ( ) : System

Initializes a new instance of the RoundedCorners class.

Private Methods

Méthode Description
RoundCornerImage ( Image image, int cornerRadius, bool topLeft = false, bool topRight = false, bool bottomLeft = false, bool bottomRight = false ) : Bitmap

Adds rounded corners to the image

Method Details

ProcessImage() public méthode

Processes the image.
public ProcessImage ( ImageFactory factory ) : Image
factory ImageFactory /// The current instance of the class containing /// the image to process. ///
Résultat Image

RoundedCorners() public méthode

Initializes a new instance of the RoundedCorners class.
public RoundedCorners ( ) : System
Résultat System