Click or drag to resize

Matrix Class

Methods to create and manage an IMatrix
Inheritance Hierarchy
SystemObject
  Eto.DrawingMatrix

Namespace:  Eto.Drawing
Assembly:  Eto (in Eto.dll) Version: 2.5.3-dev
Syntax
public static class Matrix

The Matrix type exposes the following members.

Properties
  NameDescription
Public propertyStatic memberInstantiator Obsolete.
Gets a delegate that can be used to create an identity matrix with little overhead
Public propertyStatic memberInstantiatorWithElements Obsolete.
Gets a delegate that can be used to create instances of a matrix with specified components with little overhead
Top
Methods
  NameDescription
Public methodStatic memberAppend
Append the specified matrices to the matrix
Public methodStatic memberCreate
Creates a new identity matrix
Public methodStatic memberCreate(Single)
Creates a new matrix with the specified elements
Public methodStatic memberCreate(Single, Single, Single, Single, Single, Single)
Creates a new matrix with the specified components
Public methodStatic memberFromRotation
Creates a new rotation matrix
Public methodStatic memberFromRotationAt(Single, PointF)
Creates a new rotation matrix around a center point with the specified angle
Public methodStatic memberFromRotationAt(Single, Single, Single)
Creates a new rotation matrix around a (centerX, centerY) point with the specified angle
Public methodStatic memberFromScale(SizeF)
Creates a new matrix with the specified scale
Public methodStatic memberFromScale(Single, Single)
Creates a new matrix with the specified scale factor
Public methodStatic memberFromScaleAt(SizeF, PointF)
Creates a new matrix with a scale at the specified center point
Public methodStatic memberFromScaleAt(Single, Single, Single, Single)
Creates a new matrix with a scale at the specified point
Public methodStatic memberFromSkew
Creates a new matrix with a skew
Public methodStatic memberFromTranslation(PointF)
Creates a new matrix with a translation
Public methodStatic memberFromTranslation(SizeF)
Creates a new matrix with a translation
Public methodStatic memberFromTranslation(Single, Single)
Creates a new matrix with a translation
Public methodStatic memberGetScale
Returns the scale coordinates Xx and Yy of the matrix as a PointF.
Public methodStatic memberInverse
Creates an inverted copy of the specified matrix.
Public methodStatic memberMultiply
Multiply the specified matrix and matrices.
Public methodStatic memberPrepend
Prepends the specified matrices to the matrix
Public methodStatic memberRotateAt
Prepend a rotation around the specified point to the matrix
Public methodStatic memberScale(IMatrix, SizeF)
Prepend a scale to the matrix from the origin (0, 0)
Public methodStatic memberScale(IMatrix, Single)
Prepend a scale to the matrix from the origin (0, 0)
Public methodStatic memberScaleAt(IMatrix, SizeF, PointF)
Prepend a scale to the matrix from the specified point
Public methodStatic memberScaleAt(IMatrix, Single, PointF)
Prepend a scale to the matrix from the specified point
Public methodStatic memberScaleAt(IMatrix, Single, Single, Single)
Prepend a scale to the matrix from the specified point
Public methodStatic memberTransformRectangle
Transforms the rectangle with the current matrix.
Public methodStatic memberTransformSize
Transforms the size with the current matrix.
Public methodStatic memberTranslate(IMatrix, PointF)
Prepend a translation to the matrix
Public methodStatic memberTranslate(IMatrix, SizeF)
Prepend a translation to the matrix
Top
See Also