public class DrawRoutines
extends java.lang.Object
构造器和说明 |
---|
DrawRoutines() |
限定符和类型 | 方法和说明 |
---|---|
static javax.swing.ImageIcon |
colorize(java.awt.Image img,
int hue,
int sat,
int bri,
boolean preserveGrey)
颜色画法规则
|
protected static int |
colorize(int px,
ColorRoutines nc) |
static void |
drawBorder(java.awt.Graphics g,
java.awt.Color c,
int x,
int y,
int w,
int h) |
static void |
drawEditableComboBorder(java.awt.Graphics g,
java.awt.Color c,
int x,
int y,
int w,
int h) |
static void |
drawProgressBarBorder(java.awt.Graphics g,
java.awt.Color c,
int x,
int y,
int w,
int h) |
static void |
drawRolloverCheckBorder(java.awt.Graphics g,
java.awt.Color c,
int x,
int y,
int w,
int h) |
static void |
drawRoundedBorder(java.awt.Graphics g,
java.awt.Color c,
int x,
int y,
int w,
int h) |
static void |
drawXpRadioBorder(java.awt.Graphics g,
java.awt.Color c,
int x,
int y,
int w,
int h) |
static void |
drawXpRadioRolloverBorder(java.awt.Graphics g,
java.awt.Color c,
int x,
int y,
int w,
int h) |
public static void drawBorder(java.awt.Graphics g, java.awt.Color c, int x, int y, int w, int h)
public static void drawRolloverCheckBorder(java.awt.Graphics g, java.awt.Color c, int x, int y, int w, int h)
public static void drawXpRadioRolloverBorder(java.awt.Graphics g, java.awt.Color c, int x, int y, int w, int h)
public static void drawXpRadioBorder(java.awt.Graphics g, java.awt.Color c, int x, int y, int w, int h)
public static javax.swing.ImageIcon colorize(java.awt.Image img, int hue, int sat, int bri, boolean preserveGrey)
img
- 图片hue
- 画法sat
- 值satbri
- 亮度preserveGrey
- 灰度protected static int colorize(int px, ColorRoutines nc)
public static void drawEditableComboBorder(java.awt.Graphics g, java.awt.Color c, int x, int y, int w, int h)
public static void drawRoundedBorder(java.awt.Graphics g, java.awt.Color c, int x, int y, int w, int h)
public static void drawProgressBarBorder(java.awt.Graphics g, java.awt.Color c, int x, int y, int w, int h)