public class HighlightPainter
extends java.lang.Object
Modifier and Type | Method and Description |
---|---|
static void |
drawLine(java.awt.Graphics g,
int x1,
int y1,
int x2,
int y2,
boolean clockWise,
boolean inside,
java.awt.Color highlightColor,
java.awt.Color middleColor,
java.awt.Color shadowColor) |
static float |
getBlendFactor(int dx,
int dy) |
protected static int |
getHighlightOffsetX(int deltaX,
int deltaY) |
protected static int |
getHighlightOffsetY(int deltaX,
int deltaY) |
public static void drawLine(java.awt.Graphics g, int x1, int y1, int x2, int y2, boolean clockWise, boolean inside, java.awt.Color highlightColor, java.awt.Color middleColor, java.awt.Color shadowColor)
public static float getBlendFactor(int dx, int dy)
protected static int getHighlightOffsetX(int deltaX, int deltaY)
protected static int getHighlightOffsetY(int deltaX, int deltaY)