DEXTUploadJ
DEXTUploadJ References > ImageTool > Method > DrawImage

DrawImage Method

Version
1.0.1.0
Environment
Sun JDK1.4
Target
ImageTool
Signature 1
public void DrawImage(java.lang.String _FilePath,int x,int y)
Signature 2
public void DrawImage(java.io.File _File,int x,int y)
Parameters
Name Signature Description
_FilePathjava.lang.StringRoute of image to be drawn on image
_Filejava.io.FileRoute of image to be drawn on image
xintHorizontal location to be drawn on image (Unit Pixel)
yintVertical location to be drawn on image (Unit Pixel)
Return value
Throws
java.io.IOException
DEXTUploadException
Description

Draw different image on currently working on image.

Usage 1
...omitted...

ImageTool image = ImageTool.getImageTool();

image.DrawImage(imagePath, 50,50);

...omitted...
							
Usage 2
...omitted...

ImageTool image = ImageTool.getImageTool();

File imageFile = imageItem.getFile();

image.DrawImage(imageFile, 50,50);

...omitted...