118119120121122123124125126127128
matrix.setMasksForGeometry(geom); } } } finally { if (matrix != null) { matrix.disposeGraphics(); } } return matrix; }