Simple API addition to BackgroundPosition: /** * A BackgroundPosition which will center a BackgroundImage. */ public static final BackgroundPosition CENTER = new BackgroundPosition( Side.LEFT, .5, true, Side.TOP, .5, true); No implementation changes.