Interface TransformableImageComponent

All Known Implementing Classes:
EarthDataViewPanel

public interface TransformableImageComponent
The TransformableImageComponent interface may be implemented by graphical components that paint using an image. The image transform may be modified when painting using the setImageAffine() method.
Since:
3.1.7
Author:
Peter Hollemans
  • Method Details

    • setImageAffine

      void setImageAffine(AffineTransform affine)
      Sets the image affine transform. The transform will be used to transform the image during the next painting phase.
      Parameters:
      affine - the image affine transform, or null for no transform.
    • getImageAffine

      AffineTransform getImageAffine()
      Gets the image affine transform in the view.
      Returns:
      the image affine transform or null for no transform.