Microsoft SDK for Java

Mat2 Class

The Mat2 Class of the com.ms.awt package defines a transformation matrix that can be used with outline font methods.

public class Mat2
{
  // Fields
  public float em11;
  public float em12;
  public float em21;
  public float em22;
}

The identity matrix produces a transformation, in which the transformed graphical object is identical to the source object. In the identity matrix, the value of em11 and em22 is 1. The value of em12 and em21 is 0.

© 1999 Microsoft Corporation. All rights reserved. Terms of use.