Package | Description |
---|---|
jhelp.util.gui |
GUI tools and utilities.
|
Modifier and Type | Field and Description |
---|---|
private JHelpMask |
JHelpTextLine.mask
Mask to use
|
Modifier and Type | Method and Description |
---|---|
JHelpMask |
JHelpFont.createMask(java.lang.String string)
Create a mask from a string
|
JHelpMask |
JHelpTextLine.getMask()
Mask to use
|
static JHelpMask |
JHelpMask.load(java.io.InputStream inputStream)
Load the mask from a stream
|
Modifier and Type | Method and Description |
---|---|
void |
JHelpImage.paintMask(int x,
int y,
JHelpMask mask,
int foreground,
int background,
boolean doAlphaMix)
Paint a mask
MUST be in draw mode |
void |
JHelpImage.paintMask(int x,
int y,
JHelpMask mask,
int foreground,
JHelpImage background,
int backgroundX,
int backgroundY,
boolean doAlphaMix)
Paint a mask with unify foreground color and part of image in background
Note : if the background is not in draw mode, all of it's visible sprite will be consider like a part of the background MUST be in draw mode |
void |
JHelpImage.paintMask(int x,
int y,
JHelpMask mask,
int foreground,
JHelpPaint background,
boolean doAlphaMix)
Paint a mask with unify color as foreground and paint as background
MUST be in draw mode |
void |
JHelpImage.paintMask(int x,
int y,
JHelpMask mask,
JHelpImage foreground,
int foregroundX,
int foregroundY,
int background,
boolean doAlphaMix)
Paint a mask with part of image as foreground and unify color as background
Note : if the foreground is not in draw mode, all of it's visible sprite will be consider like a part of the foreground MUST be in draw mode |
void |
JHelpImage.paintMask(int x,
int y,
JHelpMask mask,
JHelpImage foreground,
int foregroundX,
int foregroundY,
JHelpImage background,
int backgroundX,
int backgroundY,
boolean doAlphaMix)
Paint a mask with 2 images, one for "foreground" pixels, one for "background" ones
Note : if the foreground or background is not in draw mode, all of it's visible sprite will be consider like a part of the foreground or background MUST be in draw mode |
void |
JHelpImage.paintMask(int x,
int y,
JHelpMask mask,
JHelpImage foreground,
int foregroundX,
int foregroundY,
JHelpPaint background,
boolean doAlphaMix)
Paint a mask with image in foreground and paint in background
Note : if the foreground is not in draw mode, all of it's visible sprite will be consider like a part of the foreground MUST be in draw mode |
void |
JHelpImage.paintMask(int x,
int y,
JHelpMask mask,
JHelpPaint foreground,
int background,
boolean doAlphaMix)
Paint mask with paint in foreground and color in background
MUST be in draw mode |
void |
JHelpImage.paintMask(int x,
int y,
JHelpMask mask,
JHelpPaint foreground,
JHelpImage background,
int backgroundX,
int backgroundY,
boolean doAlphaMix)
Paint a mask with paint in foreground and image in background
Note : if the background is not in draw mode, all of it's visible sprite will be consider like a part of the background MUST be in draw mode |
void |
JHelpImage.paintMask(int x,
int y,
JHelpMask mask,
JHelpPaint foreground,
JHelpPaint background,
boolean doAlphaMix)
Paint mask with paint in foreground and background
MUST be in draw mode |
Constructor and Description |
---|
JHelpTextLine(java.lang.String text,
int x,
int y,
int width,
int height,
JHelpMask mask)
Create a new instance of JHelpTextLine
|