Versions Compared

Key

  • This line was added.
  • This line was removed.
  • Formatting was changed.
Comment: Migrated to Confluence 4.0

Effects are objects that can be added to Painters to modify the way they are drawn.

SwingX includes several built-in Effects for your use:

  • GlowPathEffect - Draws a glow around the Painter.
  • InnerGlowPathEffect - Draws a glow inside the Painter's shape.
  • InnerShadowPathEffect - Draws a shadow inside the Painter's shape.
  • NeonBorderEffect - Draws a multicolored border around the Painter interpolating between two colors.
  • ShadowPathEffect - Draws a shadow around the Painter's shape.

With the exception of NeonBorderEffect, the other effects have no argument constructors.

Java class name:NeonBorderEffect

SwingXBuilder node: neonBorderEffect

Attribute

Expected Type

edgeColor

Color

centerColor

Color

effectWidth

Integer