C# Класс SWFProcessing.ModellingUtils.Geom.Matrix

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

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

Метод Описание
Apply ( Matrix m ) : void
Copy ( ) : Matrix
Matrix ( ) : System

Initializes a new instance of an identity matrix

Matrix ( float tx, float ty ) : System

Initializes a new instance of an translation matrix

Matrix ( float tx, float ty, float sx, float sy, float rx, float ry ) : System

Initializes a new instance of a matrix

RotateToDegrees ( double angle ) : void
ScaleNoTranslate ( float xscale, float yscale ) : void
ToString ( ) : string

Renders the matrix as a string. Used only in test/debug console output.

Translate ( float tx, float ty ) : void

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

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

public Apply ( Matrix m ) : void
m Matrix
Результат void

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

public Copy ( ) : Matrix
Результат Matrix

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

Initializes a new instance of an identity matrix
public Matrix ( ) : System
Результат System

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

Initializes a new instance of an translation matrix
public Matrix ( float tx, float ty ) : System
tx float
ty float
Результат System

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

Initializes a new instance of a matrix
public Matrix ( float tx, float ty, float sx, float sy, float rx, float ry ) : System
tx float Translate X value
ty float Translate Y value
sx float Scale X value
sy float Scale Y value
rx float Rotate (Skew) X value
ry float Rotate (Skew) Y value
Результат System

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

public RotateToDegrees ( double angle ) : void
angle double
Результат void

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

public ScaleNoTranslate ( float xscale, float yscale ) : void
xscale float
yscale float
Результат void

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

Renders the matrix as a string. Used only in test/debug console output.
public ToString ( ) : string
Результат string

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

public Translate ( float tx, float ty ) : void
tx float
ty float
Результат void