code: private Paint decodeCornerGradient(Shape s) {
          Rectangle2D bounds = s.getBounds2D();
          float       w      = (float) bounds.getWidth();
          float       h      = (float) bounds.getHeight();
  
          return createGradient(0, 0, w - 1, h - 1, new float[] { 0f, 1f }, new Color[] { cornerColor2, cornerColor1 });
      }
docs: DOCUMENT ME!
  
  @param  s DOCUMENT ME!
  
  @return DOCUMENT ME!