Code example for Transformation

Methods: getMatrix

0
		} 
	} 
 
	public PointF getCurrentPosition() {
		if ((anim != null) && (anim.hasStarted()) && (!anim.hasEnded())) {
			Transformation trans = new Transformation();
			anim.getTransformation(AnimationUtils.currentAnimationTimeMillis(),
					trans);
			float val[] = new float[9];
			trans.getMatrix().getValues(val);
			return new PointF(val[Matrix.MTRANS_X], val[Matrix.MTRANS_Y]);
		} 
		return new PointF(0, 0);
	} 
 
	public int getState() { 
		return state;
	} 
 
	public void setState(int state) {
		switch (state) {