|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Object | +--java.awt.Component | +--java.awt.Canvas | +--IX_compose
This IX API class is used to compose two images.
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT,
CENTER_ALIGNMENT,
LEFT_ALIGNMENT,
RIGHT_ALIGNMENT,
TOP_ALIGNMENT |
Constructor Summary | |
IX_compose(java.awt.Image im1,
java.awt.Image im2)
This is a constructor. |
|
IX_compose(java.awt.Image im1,
java.awt.Image im2,
int locX,
int locY,
int method,
java.awt.Color bg)
This is a constructor. |
|
IX_compose(int[] data1,
int width1,
int height1,
int[] data2,
int width2,
int height2)
This is a constructor. |
|
IX_compose(int[] data1,
int width1,
int height1,
int[] data2,
int width2,
int height2,
int locX,
int locY,
int method,
java.awt.Color bg)
This is a constructor. |
Method Summary | |
java.awt.Color |
getBG()
This returns background color. |
int |
getHeight()
This returns the image height. |
int |
getLocX()
This returns location X coord. |
int |
getLocY()
This returns location Y coord. |
int |
getMethod()
This returns composition method. |
java.awt.Dimension |
getMinimizeSize()
|
int[] |
getOutputArray()
This returns the output array. |
java.awt.Image |
getOutputImage()
This returns the output image. |
java.awt.Dimension |
getPreferredSize()
|
int |
getWidth()
This returns the image width. |
void |
paint(java.awt.Graphics g)
|
void |
setAllParameters(int locX,
int locY,
int method,
java.awt.Color bg)
This sets all the parameters. |
void |
setBG(java.awt.Color bg)
This sets background color. |
void |
setLocX(int locX)
This sets location X coord. |
void |
setLocY(int locY)
This sets location Y coord. |
void |
setMethod(int method)
This sets composition method. |
void |
update(java.awt.Graphics g)
|
Methods inherited from class java.awt.Canvas |
addNotify |
Methods inherited from class java.awt.Component |
action,
add,
addComponentListener,
addFocusListener,
addInputMethodListener,
addKeyListener,
addMouseListener,
addMouseMotionListener,
addPropertyChangeListener,
addPropertyChangeListener,
bounds,
checkImage,
checkImage,
coalesceEvents,
contains,
contains,
createImage,
createImage,
deliverEvent,
disable,
disableEvents,
dispatchEvent,
doLayout,
enable,
enable,
enableEvents,
enableInputMethods,
firePropertyChange,
getAlignmentX,
getAlignmentY,
getBackground,
getBounds,
getBounds,
getColorModel,
getComponentAt,
getComponentAt,
getComponentOrientation,
getCursor,
getDropTarget,
getFont,
getFontMetrics,
getForeground,
getGraphics,
getInputContext,
getInputMethodRequests,
getLocale,
getLocation,
getLocation,
getLocationOnScreen,
getMaximumSize,
getMinimumSize,
getName,
getParent,
getPeer,
getSize,
getSize,
getToolkit,
getTreeLock,
getX,
getY,
gotFocus,
handleEvent,
hasFocus,
hide,
imageUpdate,
inside,
invalidate,
isDisplayable,
isDoubleBuffered,
isEnabled,
isFocusTraversable,
isLightweight,
isOpaque,
isShowing,
isValid,
isVisible,
keyDown,
keyUp,
layout,
list,
list,
list,
list,
list,
locate,
location,
lostFocus,
minimumSize,
mouseDown,
mouseDrag,
mouseEnter,
mouseExit,
mouseMove,
mouseUp,
move,
nextFocus,
paintAll,
paramString,
postEvent,
preferredSize,
prepareImage,
prepareImage,
print,
printAll,
processComponentEvent,
processEvent,
processFocusEvent,
processInputMethodEvent,
processKeyEvent,
processMouseEvent,
processMouseMotionEvent,
remove,
removeComponentListener,
removeFocusListener,
removeInputMethodListener,
removeKeyListener,
removeMouseListener,
removeMouseMotionListener,
removeNotify,
removePropertyChangeListener,
removePropertyChangeListener,
repaint,
repaint,
repaint,
repaint,
requestFocus,
reshape,
resize,
resize,
setBackground,
setBounds,
setBounds,
setComponentOrientation,
setCursor,
setDropTarget,
setEnabled,
setFont,
setForeground,
setLocale,
setLocation,
setLocation,
setName,
setSize,
setSize,
setVisible,
show,
show,
size,
toString,
transferFocus,
validate |
Methods inherited from class java.lang.Object |
clone,
equals,
finalize,
getClass,
hashCode,
notify,
notifyAll,
wait,
wait,
wait |
Constructor Detail |
public IX_compose(java.awt.Image im1, java.awt.Image im2)
im1
- input image 1im2
- input image 2public IX_compose(java.awt.Image im1, java.awt.Image im2, int locX, int locY, int method, java.awt.Color bg)
im1
- input image 1im2
- input image 2locX
- location X coordlocY
- location Y coordmethod
- composition method
(OVERWRITE = 0, AND = 1, OR = 2, XOR = 3, TRANSPARENT = 4)bg
- background colorpublic IX_compose(int[] data1, int width1, int height1, int[] data2, int width2, int height2)
data1
- input array 1width1
- input image width 1height1
- input image height 1data2
- input array 2width2
- input image width 2height2
- input image height 2public IX_compose(int[] data1, int width1, int height1, int[] data2, int width2, int height2, int locX, int locY, int method, java.awt.Color bg)
data1
- input array 1width1
- input image width 1height1
- input image height 1data2
- input array 2width2
- input image width 2height2
- input image height 2locX
- location X coordlocY
- location Y coordmethod
- composition method
(OVERWRITE = 0, AND = 1, OR = 2, XOR = 3, TRANSPARENT = 4)bg
- background colorMethod Detail |
public void setAllParameters(int locX, int locY, int method, java.awt.Color bg)
locX
- location X coordlocY
- location Y coordmethod
- composition method
(OVERWRITE = 0, AND = 1, OR = 2, XOR = 3, TRANSPARENT = 4)bg
- background colorpublic void setLocX(int locX)
locX
- location X coordpublic int getLocX()
- public void setLocY(int locY)
locY
- location Y coordpublic int getLocY()
- public void setMethod(int method)
method
- composition methodpublic int getMethod()
- public void setBG(java.awt.Color bg)
bg
- background colorpublic java.awt.Color getBG()
- public int getWidth()
public int getHeight()
public java.awt.Image getOutputImage()
public int[] getOutputArray()
public java.awt.Dimension getMinimizeSize()
public java.awt.Dimension getPreferredSize()
public void paint(java.awt.Graphics g)
public void update(java.awt.Graphics g)
|
|||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||
SUMMARY: INNER | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |