Package com.intellij.util.ui
Class WavePainter
java.lang.Object
com.intellij.util.ui.WavePainter
Draws a 'wavy' line of 1-pixel amplitude. Instances are cached for performance reasons.
This class is not thread-safe, it's supposed to be used in EDT only.
-
Method Summary
Modifier and TypeMethodDescriptionstatic WavePaintervoidpaint(Graphics2D g, int xStart, int xEnd, int y) Paints a wave in given coordinate range.
-
Method Details
-
paint
Paints a wave in given coordinate range.ydefines the lower boundary of painted wave. -
forColor
-