Package | Description |
---|---|
jhelp.util.gui |
GUI tools and utilities.
|
Modifier and Type | Class and Description |
---|---|
class |
JHelpGradient
Paint of a gradient of 4 colors, each color is put on a corner of the bounding box of the shape to fill, and other pixels are
there interpolation
|
class |
JHelpGradientHorizontal
Horizontal gradient with fixed step
|
class |
JHelpGradientVertical
Vertical gradient with fixed step
|
Modifier and Type | Method and Description |
---|---|
private JHelpImage |
JHelpRichText.createImage(java.lang.String text,
JHelpFont font,
int colorText,
JHelpPaint paintText,
JHelpImage textureText)
Compute image that draw the text with symbols replaced by corresponding images
|
JHelpImage |
JHelpRichText.createImage(java.lang.String text,
JHelpFont font,
JHelpPaint paintText)
Create an image for draw the text with symbols replaced by corresponding image
|
void |
JHelpImage.fillEllipse(int x,
int y,
int width,
int height,
JHelpPaint paint)
Fill an ellipse
MUST be in draw mode |
void |
JHelpImage.fillEllipse(int x,
int y,
int width,
int height,
JHelpPaint paint,
boolean doAlphaMix)
Fill an ellipse
MUST be in draw mode |
void |
JHelpImage.fillPolygon(int[] xs,
int[] ys,
JHelpPaint paint)
Fill a polygon
MUST be in draw mode |
void |
JHelpImage.fillPolygon(int[] xs,
int[] ys,
JHelpPaint paint,
boolean doAlphaMix)
Fill a polygon
MUST be in draw mode |
void |
JHelpImage.fillPolygon(int[] xs,
int offsetX,
int[] ys,
int offsetY,
int length,
JHelpPaint paint)
Fill a polygon
MUST be in draw mode |
void |
JHelpImage.fillPolygon(int[] xs,
int offsetX,
int[] ys,
int offsetY,
int length,
JHelpPaint paint,
boolean doAlphaMix)
Fill a polygon
MUST be in draw mode |
void |
JHelpImage.fillRectangle(int x,
int y,
int width,
int height,
JHelpPaint paint)
Fill a rectangle
MUST be in draw mode |
void |
JHelpImage.fillRectangle(int x,
int y,
int width,
int height,
JHelpPaint paint,
boolean doAlphaMix)
Fill a rectangle
MUST be in draw mode |
void |
JHelpImage.fillRoundRectangle(int x,
int y,
int width,
int height,
int arcWidth,
int arcHeight,
JHelpPaint paint)
Fill a round rectangle
MUST be in draw mode |
void |
JHelpImage.fillRoundRectangle(int x,
int y,
int width,
int height,
int arcWidth,
int arcHeight,
JHelpPaint paint,
boolean doAlphaMix)
Fill a round rectangle
MUST be in draw mode |
void |
JHelpImage.fillShape(java.awt.Shape shape,
JHelpPaint paint)
Fill a shape
MUST be in draw mode |
void |
JHelpImage.fillShape(java.awt.Shape shape,
JHelpPaint paint,
boolean doAlphaMix)
Fill a shape
MUST be in draw mode |
void |
JHelpImage.fillString(int x,
int y,
java.lang.String string,
JHelpFont font,
JHelpPaint paint,
int color)
Fill a string
MUST be on draw mode |
void |
JHelpImage.fillString(int x,
int y,
java.lang.String string,
JHelpFont font,
JHelpPaint paint,
int color,
boolean doAlphaMix)
Fill a string
MUST be on 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,
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 |