Exemplo n.º 1
0
 public PMatrix2D getMatrix(PMatrix2D target) {
   if (target == null) {
     target = new PMatrix2D();
   }
   g2.getTransform().getMatrix(transform);
   target.set(
       (float) transform[0],
       (float) transform[2],
       (float) transform[4],
       (float) transform[1],
       (float) transform[3],
       (float) transform[5]);
   return target;
 }
Exemplo n.º 2
0
 public void printMatrix() {
   getMatrix((PMatrix2D) null).print();
 }