C# Class Accord.Imaging.Filters.BaseRotateFilter

Base class for image rotation filters.
The abstract class is the base class for all filters, which implement rotating algorithms.
Inheritance: BaseTransformationFilter
Afficher le fichier Open project: accord-net/framework

Protected Properties

Свойство Type Description
angle double
fillColor Color
keepSize bool

Méthodes protégées

Méthode Description
BaseRotateFilter ( double angle ) : System

Initializes a new instance of the BaseRotateFilter class.

This constructor sets KeepSize property to false.

BaseRotateFilter ( double angle, bool keepSize ) : System

Initializes a new instance of the BaseRotateFilter class.

CalculateNewImageSize ( UnmanagedImage sourceData ) : Size

Calculates new image size.

Method Details

BaseRotateFilter() protected méthode

Initializes a new instance of the BaseRotateFilter class.

This constructor sets KeepSize property to false.

protected BaseRotateFilter ( double angle ) : System
angle double Rotation angle.
Résultat System

BaseRotateFilter() protected méthode

Initializes a new instance of the BaseRotateFilter class.
protected BaseRotateFilter ( double angle, bool keepSize ) : System
angle double Rotation angle.
keepSize bool Keep image size or not.
Résultat System

CalculateNewImageSize() protected méthode

Calculates new image size.
protected CalculateNewImageSize ( UnmanagedImage sourceData ) : Size
sourceData UnmanagedImage Source image data.
Résultat System.Drawing.Size

Property Details

angle protected_oe property

Rotation angle.
protected double angle
Résultat double

fillColor protected_oe property

Fill color.
protected Color fillColor
Résultat Color

keepSize protected_oe property

Keep image size or not.
protected bool keepSize
Résultat bool