Uploaded image for project: 'JDK'
  1. JDK
  2. JDK-8103415

Add CENTER constant to BackgroundPosition

    Details

      Description

      It is non-obvious and really common use case to center a background image. It would be really helpful if BackgroundPosition.CENTER was a prebuilt value for centering background image.

      Please add:

      public static final BackgroundPosition CENTER = new BackgroundPosition(Side.LEFT,.5,true,Side.TOP,.5,true);

        Attachments

          Activity

            People

            • Assignee:
              rbair Richard Bair
              Reporter:
              jasper Jasper Potts
            • Votes:
              0 Vote for this issue
              Watchers:
              1 Start watching this issue

              Dates

              • Created:
                Updated:
                Resolved:
                Imported: