|
|||||||
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_tint
This IX API class is used to adjust the color tint angle of an image.
Fields inherited from class java.awt.Component |
BOTTOM_ALIGNMENT,
CENTER_ALIGNMENT,
LEFT_ALIGNMENT,
RIGHT_ALIGNMENT,
TOP_ALIGNMENT |
Constructor Summary | |
IX_tint(java.awt.Image im)
This is a constructor. |
|
IX_tint(java.awt.Image im,
int angle)
This is a constructor. |
|
IX_tint(int[] data,
int width,
int height)
This is a constructor. |
|
IX_tint(int[] data,
int width,
int height,
int angle)
This is a constructor. |
Method Summary | |
int |
getAngle()
This returns the tint angle. |
int |
getHeight()
This returns the image height. |
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 angle)
|
void |
setAngle(int angle)
This sets the tint angle. |
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_tint(java.awt.Image im)
im
- input image (default angle = 100)public IX_tint(java.awt.Image im, int angle)
im
- input imageangle
- tint angle (-180, 180)public IX_tint(int[] data, int width, int height)
data
- input arraywidth
- input image widthheight
- input image heightpublic IX_tint(int[] data, int width, int height, int angle)
data
- input arraywidth
- input image widthheight
- input image heightangle
- tint angle (-180, 180)Method Detail |
public void setAllParameters(int angle)
public void setAngle(int angle)
data
- input arrayangle
- tint angle (-180, 180)public int getAngle()
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 |