Class NeonBorderEffect

java.lang.Object
org.jdesktop.swingx.painter.effects.AbstractAreaEffect
org.jdesktop.swingx.painter.effects.NeonBorderEffect
All Implemented Interfaces:
AreaEffect

public class NeonBorderEffect extends AbstractAreaEffect
An effect which draws a multicolored border around a painter's shape. It will interpolate between two specified colors, creating a neon like effect.
  • Field Details

  • Constructor Details

    • NeonBorderEffect

      public NeonBorderEffect()
      Create a new NeonBorderEffect
    • NeonBorderEffect

      public NeonBorderEffect(Color edgeColor, Color centerColor, int effectWidth)
      Creates a new instance of NeonBorderEffect
  • Method Details