C# Class ImageMagick.DrawableAffine

Afficher le fichier Open project: dlemstra/Magick.NET Class Usage Examples

Méthodes publiques

Méthode Description
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

Private Methods

Méthode Description
DegreesToRadians ( double x ) : double
IDrawable ( IDrawingWand wand ) : void

Draws this instance with the drawing wand.

Transform ( DrawableAffine affine ) : void

Method Details

DrawableAffine() public méthode

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

DrawableAffine() public méthode

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.
Résultat System

DrawableAffine() public méthode

Initializes a new instance of the DrawableAffine class.
public DrawableAffine ( Matrix matrix ) : System.Drawing.Drawing2D
matrix System.Drawing.Drawing2D.Matrix The matrix.
Résultat System.Drawing.Drawing2D

Reset() public méthode

Reset to default
public Reset ( ) : void
Résultat void

TransformOrigin() public méthode

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.
Résultat void

TransformRotation() public méthode

Rotation to use.
public TransformRotation ( double angle ) : void
angle double The angle of the rotation.
Résultat void

TransformScale() public méthode

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.
Résultat void

TransformSkewX() public méthode

Skew to use in X axis
public TransformSkewX ( double skewX ) : void
skewX double The X skewing element.
Résultat void

TransformSkewY() public méthode

Skew to use in Y axis
public TransformSkewY ( double skewY ) : void
skewY double The Y skewing element.
Résultat void