public Image getSectionGradientImage(Color color1, Color color2, int realtheight, int theight, int marginHeight, Display display) { if (color1 == null || color1.isDisposed()) return null; AbstractImageDescriptor desc = new SimpleSectionGradientImageDescriptor(color1, color2, realtheight, theight, marginHeight); return getGradient(desc, display); }
public Image getSectionGradientImage(Color color1, Color color2, int realtheight, int theight, int marginHeight, Display display) { if (color1 == null || color1.isDisposed()) return null; AbstractImageDescriptor desc = new SimpleSectionGradientImageDescriptor(color1, color2, realtheight, theight, marginHeight); return getGradient(desc, display); }