public class UtilImage
extends java.lang.Object
Modifier and Type | Class and Description |
---|---|
static class |
UtilImage.WayTriangle
Triangle way
|
Constructor and Description |
---|
UtilImage() |
Modifier and Type | Method and Description |
---|---|
static void |
drawIncrustedDownTriangle(int x,
int y,
int size,
JHelpImage image)
Draw a triangle for go down
|
static void |
drawIncrustedLeftTriangle(int x,
int y,
int size,
JHelpImage image)
Draw a triangle for go left
|
static void |
drawIncrustedRightTriangle(int x,
int y,
int size,
JHelpImage image)
Draw a triangle for go right
|
static void |
drawIncrustedTriangle(int x,
int y,
int size,
JHelpImage image,
UtilImage.WayTriangle wayTriangle)
Draw a triangle for go in a given way
|
static void |
drawIncrustedUpTriangle(int x,
int y,
int size,
JHelpImage image)
Draw a triangle for go up
|
static java.awt.Color |
invertColor(java.awt.Color color)
Invert a color
|
public static void drawIncrustedDownTriangle(int x, int y, int size, JHelpImage image)
x
- X positiony
- Y positionsize
- Triangle sizeimage
- Image where drawpublic static void drawIncrustedLeftTriangle(int x, int y, int size, JHelpImage image)
x
- X positiony
- Y positionsize
- Triangle sizeimage
- Image where drawpublic static void drawIncrustedRightTriangle(int x, int y, int size, JHelpImage image)
x
- X positiony
- Y positionsize
- Triangle sizeimage
- Image where drawpublic static void drawIncrustedTriangle(int x, int y, int size, JHelpImage image, UtilImage.WayTriangle wayTriangle)
x
- X positiony
- Y positionsize
- Triangle sizeimage
- Image where drawwayTriangle
- Triangle waypublic static void drawIncrustedUpTriangle(int x, int y, int size, JHelpImage image)
x
- X positiony
- Y positionsize
- Triangle sizeimage
- Image where drawpublic static java.awt.Color invertColor(java.awt.Color color)
color
- Color to invert