|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectyu.ac.bg.etf.javaqx.qswing.graphics.Image
Abstract Image.
Field Summary | |
static int |
SCALE_FAST
Fast image scaling (the value is 2). |
static int |
SCALE_SMOOTH
Smoot image scaling (the value is 4). |
Constructor Summary | |
Image()
|
Method Summary | |
abstract void |
flush()
Flushes the resources. |
abstract int |
getHeight()
Returns height of the image. |
abstract Image |
getScaledInstance(int width,
int height,
int hints)
Returns scaled image. |
abstract ImageProducer |
getSource()
Returns image producer. |
abstract int |
getWidth()
Returns width of the image. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
Field Detail |
public static final int SCALE_FAST
public static final int SCALE_SMOOTH
Constructor Detail |
public Image()
Method Detail |
public abstract int getWidth()
public abstract int getHeight()
public abstract ImageProducer getSource()
public abstract Image getScaledInstance(int width, int height, int hints)
width
- the widthheight
- the heighthints
- the hints
public abstract void flush()
|
|||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |