C# Класс AForge.Imaging.Filters.BaseRotateFilter

Base class for image rotation filters.
The abstract class is the base class for all filters, which implement rotating algorithms.
Наследование: BaseTransformationFilter
Показать файл Открыть проект Примеры использования класса

Защищенные свойства (Protected)

Свойство Тип Описание
angle double
fillColor Color
keepSize bool

Открытые методы

Метод Описание
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.

Описание методов

BaseRotateFilter() публичный метод

Initializes a new instance of the BaseRotateFilter class.

This constructor sets KeepSize property to false.

public BaseRotateFilter ( double angle ) : System
angle double Rotation angle.
Результат System

BaseRotateFilter() публичный метод

Initializes a new instance of the BaseRotateFilter class.
public BaseRotateFilter ( double angle, bool keepSize ) : System
angle double Rotation angle.
keepSize bool Keep image size or not.
Результат System

CalculateNewImageSize() защищенный метод

Calculates new image size.
protected CalculateNewImageSize ( UnmanagedImage sourceData ) : Size
sourceData UnmanagedImage Source image data.
Результат System.Drawing.Size

Описание свойств

angle защищенное свойство

Rotation angle.
protected double angle
Результат double

fillColor защищенное свойство

Fill color.
protected Color fillColor
Результат Color

keepSize защищенное свойство

Keep image size or not.
protected bool keepSize
Результат bool