Why ImageGraphicsBaseImpl.setTransform() is not supported?

I need to use AffineTransform, but I can't.

Mipmap is the reason for this?



    public void transform( AffineTransform Tx ) {
        throw new UnsupportedOperationException();
//        delegate.transform( Tx );
    }

    public void setTransform( AffineTransform Tx ) {
        throw new UnsupportedOperationException();
//        delegate.setTransform( Tx );
    }

I guess it's hard to track which parts of the image are effected when doing the transform? Though the implementation should have marked the entire image as being dirty and doing the transform, instead of throwing an exception…

Momoko_Fan said:

I guess it's hard to track which parts of the image are effected when doing the transform? Though the implementation should have marked the entire image as being dirty and doing the transform, instead of throwing an exception..

'Cause ImageGraphicsBaseImpl is the subclass of Graphics2D, I think just inheriting the method setTransform() is good enough?