| Constructor and Description |
|---|
ImagePainter() |
| Modifier and Type | Method and Description |
|---|---|
void |
draw(Graphics2D g,
AbstractElement element,
int canvasWidth) |
static BufferedImage |
makeBlur(BufferedImage srcImage,
int radius)
高斯模糊(毛玻璃效果)
|
public static BufferedImage makeBlur(BufferedImage srcImage, int radius)
srcImage - 图片流radius - 半径public void draw(Graphics2D g, AbstractElement element, int canvasWidth)
Copyright © 2021. All rights reserved.