|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectewe.fx.mImage
ewe.fx.DrawnIcon
A DrawnIcon represents a number of Images which are "drawn" using Graphics primitives rather than from a Image.
| Field Summary | |
static int |
CROSS
This is a 'X' cross. |
static int |
TICK
This is a tick mark. |
| Fields inherited from class ewe.fx.mImage |
AlwaysOnTop, backgroundColor, bitmask, CompletelyIn, drawable, drawMode, HasBorder, HasChanged, HasMoved, hotArea, hotPolygon, image, imageMayChange, InUse, IsAnimated, IsEmpty, IsInvisible, IsLocked, IsMoveable, IsNotHot, IsNotStill, IsPrepared, IsPreparing, KeepOnScreen, lastDrawn, location, mask, MouseMustBeOver, properties, RelativeToOrigin, sourceImage, sourceMask, transparentColor |
| Fields inherited from interface ewe.fx.IImage |
DISABLED, OUTLINED |
| Constructor Summary | |
DrawnIcon(int type,
int width,
int height,
Color c)
Create a new DrawnIcon |
|
DrawnIcon(int type,
int width,
int height,
Pen p,
Brush b)
Create a new DrawnIcon |
|
| Method Summary | |
void |
doDraw(Graphics g,
int options)
Bottom level draw. |
boolean |
usesAlpha()
Returns whether the image uses the Alpha channel. |
| Methods inherited from class ewe.fx.mImage |
changeRefresher, compareTo, copyFrom, decodeBytes, draw, draw, drawBorder, drawn, encodeBytes, fixColors, free, freeIfNotOriginal, freeSource, getBackground, getBrokenImage, getCopy, getDefaultImage, getDim, getFullCopy, getHeight, getHotArea, getLocation, getNew, getPixels, getRefresher, getSize, getUnknownImage, getUnusedColor, getWidth, imageSet, makeOpaqueHotArea, onHotArea, refresh, scale, setHotAreaInImage, setImage, setImage, setImage, setImage, setImage, setImage, setImage, setMImage, setRefresher, toAlphaImage, toCursor, toString |
| Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode |
| Field Detail |
public static final int CROSS
public static final int TICK
| Constructor Detail |
public DrawnIcon(int type,
int width,
int height,
Color c)
type - either CROSS or TICK.width - The width of the icon.height - The height of the icon.c - The color of the icon.
public DrawnIcon(int type,
int width,
int height,
Pen p,
Brush b)
type - either CROSS or TICK.width - The width of the icon.height - The height of the icon.p - The Pen to use for drawing.b - The Brush to use for drawing.| Method Detail |
public void doDraw(Graphics g,
int options)
mImage
doDraw in class mImagepublic boolean usesAlpha()
IImage
usesAlpha in interface IImageusesAlpha in class mImage
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||