Class GradientBackground

java.lang.Object
com.iizigo.swt.GradientBackground

public class GradientBackground extends Object
Class used to set a gradient on a composite. CLabel gets the native implementation.
Author:
Christopher Mindus
  • 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.