←Select platform

LeadMatrix Structure

Summary
Represents a 3x3 affine transformation matrix used for transformations in 2-D space.
Syntax
C#
VB
Objective-C
C++
Java
[SerializableAttribute()] 
[DataContractAttribute(Name="LeadMatrix")] 
public struct LeadMatrix 
typedef struct LeadMatrix 
public final class LeadMatrix implements Serializable 
<SerializableAttribute(),  
 DataContractAttribute(Name:="LeadMatrix")>  
Public Structure LeadMatrix 
public: 
   [SerializableAttribute,  
   DataContractAttribute(Name=L"LeadMatrix")] 
   value class LeadMatrix sealed 
Remarks

A 3x3 matrix is used for transformations in a 2-D x-y plane. Affine transformation matrices can be multiplied to form any number of linear transformations, such as rotation and skew (shear), followed by translation. An affine transformation matrix has its final column equal to (0, 0, 1), so only the members in the first two columns need to be specified. Note that vectors are expressed as row-vectors, not column vectors.

A LeadMatrix is stored using row-major order and has the following structure:

M11 M12 0
M21 M22 0
OffsetX OffsetY 1

The members in the last row, OffsetX and OffsetY, represent translation values.

In methods and properties, the transformation matrix is usually specified as a vector with only six members, as follows:

(M11, M12, M21, M22, OffsetX, OffsetY)

Requirements

Target Platforms

Help Version 21.0.2021.7.2
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.

Leadtools Assembly
Products | Support | Contact Us | Intellectual Property Notices
© 1991-2021 LEAD Technologies, Inc. All Rights Reserved.