Button class, image or graphics?

I’m creating a button class in Slick2D library for game development. So I want to instead of using three images for a button like contains, pressed and down, to use graphics to draw a rectangle and add to it many other graphic features, and what takes more memory ?