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(Composite composite, Color top, Color bottom)
      Constructor for the gradient.
      Parameters:
      composite - The composite.
      top - The top color.
      bottom - The bottom color.