C# Класс ImageMagick.DrawableAffine

Показать файл Открыть проект Примеры использования класса

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

Метод Описание
DrawableAffine ( ) : System

Initializes a new instance of the DrawableAffine class.

DrawableAffine ( double scaleX, double scaleY, double shearX, double shearY, double translateX, double translateY ) : System

Initializes a new instance of the DrawableAffine class.

DrawableAffine ( Matrix matrix ) : System.Drawing.Drawing2D

Initializes a new instance of the DrawableAffine class.

Reset ( ) : void

Reset to default

TransformOrigin ( double translateX, double translateY ) : void

Sets the origin of coordinate system.

TransformRotation ( double angle ) : void

Rotation to use.

TransformScale ( double scaleX, double scaleY ) : void

Sets the scale to use.

TransformSkewX ( double skewX ) : void

Skew to use in X axis

TransformSkewY ( double skewY ) : void

Skew to use in Y axis

Приватные методы

Метод Описание
DegreesToRadians ( double x ) : double
IDrawable ( IDrawingWand wand ) : void

Draws this instance with the drawing wand.

Transform ( DrawableAffine affine ) : void

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

DrawableAffine() публичный Метод

Initializes a new instance of the DrawableAffine class.
public DrawableAffine ( ) : System
Результат System

DrawableAffine() публичный Метод

Initializes a new instance of the DrawableAffine class.
public DrawableAffine ( double scaleX, double scaleY, double shearX, double shearY, double translateX, double translateY ) : System
scaleX double The X coordinate scaling element.
scaleY double The Y coordinate scaling element.
shearX double The X coordinate shearing element.
shearY double The Y coordinate shearing element.
translateX double The X coordinate of the translation element.
translateY double The Y coordinate of the translation element.
Результат System

DrawableAffine() публичный Метод

Initializes a new instance of the DrawableAffine class.
public DrawableAffine ( Matrix matrix ) : System.Drawing.Drawing2D
matrix System.Drawing.Drawing2D.Matrix The matrix.
Результат System.Drawing.Drawing2D

Reset() публичный Метод

Reset to default
public Reset ( ) : void
Результат void

TransformOrigin() публичный Метод

Sets the origin of coordinate system.
public TransformOrigin ( double translateX, double translateY ) : void
translateX double The X coordinate of the translation element.
translateY double The Y coordinate of the translation element.
Результат void

TransformRotation() публичный Метод

Rotation to use.
public TransformRotation ( double angle ) : void
angle double The angle of the rotation.
Результат void

TransformScale() публичный Метод

Sets the scale to use.
public TransformScale ( double scaleX, double scaleY ) : void
scaleX double The X coordinate scaling element.
scaleY double The Y coordinate scaling element.
Результат void

TransformSkewX() публичный Метод

Skew to use in X axis
public TransformSkewX ( double skewX ) : void
skewX double The X skewing element.
Результат void

TransformSkewY() публичный Метод

Skew to use in Y axis
public TransformSkewY ( double skewY ) : void
skewY double The Y skewing element.
Результат void