Package com.iizigo.swt
Class GradientBackground
java.lang.Object
com.iizigo.swt.GradientBackground
Class used to set a gradient on a composite. CLabel gets the native implementation.
- Author:
- Christopher Mindus
Constructor Summary
ConstructorDescriptionGradientBackground
(org.eclipse.swt.widgets.Composite composite, org.eclipse.swt.graphics.Color top, org.eclipse.swt.graphics.Color bottom) Constructor for the gradient.Method Summary
Constructor Details
GradientBackground
public GradientBackground(org.eclipse.swt.widgets.Composite composite, org.eclipse.swt.graphics.Color top, org.eclipse.swt.graphics.Color bottom) Constructor for the gradient.- Parameters:
composite
- The composite.top
- The top color.bottom
- The bottom color.