Class RubberSheetImage


  • public class RubberSheetImage
    extends ApplicationTemplate
    Demonstrates the use of the SurfaceImage class to create a "rubber sheet" image that can be arbitrarily positioned, scaled and warped on the globe's surface using control points at the image's four corners.
    • Constructor Detail

      • RubberSheetImage

        public RubberSheetImage()
    • Method Detail

      • createPowerOfTwoImage

        protected static java.awt.image.BufferedImage createPowerOfTwoImage​(int minWidth,
                                                                            int minHeight)
      • createPowerOfTwoScaledCopy

        protected static java.awt.image.BufferedImage createPowerOfTwoScaledCopy​(java.awt.image.BufferedImage image)
      • main

        public static void main​(java.lang.String[] args)