B4J Programming Press on the image to return to the main documentation page.

db2000.GRAPHICS

Written by Massimo Mascalchi

List of types:

watermark

watermark


Events:

None

Members:


  addIMAGE (FileImageInput As String, FileImageAdd As String, X As Int, Y As Int, ImageAddOpacity As Float, TypeImageOutput As String, FileImageOutput As String)

  addIMAGE2 (FileImageInput As String, FileImageAdd As String, ImageAddPosition As Int, ImageAddOpacity As Float, TypeImageOutput As String, FileImageOutput As String)

  addTEXT (FileImageInput As String, Text As String, X As Int, Y As Int, FontName As String, FontStyle As Int, FontSize As Int, R As Int, G As Int, B As Int, TypeImageOutput As String, FileImageOutput As String)

  IMAGE_CENTER As Int

  IMAGE_LEFT_BOTTOM As Int

  IMAGE_LEFT_TOP As Int

  IMAGE_RIGHT_BOTTOM As Int

  IMAGE_RIGHT_TOP As Int

  VERSION As Double [read only]

Members description:

addIMAGE (FileImageInput As String, FileImageAdd As String, X As Int, Y As Int, ImageAddOpacity As Float, TypeImageOutput As String, FileImageOutput As String)
add image via coordinates X, Y
FileImageInput: the name of the image file in input
FileImageAdd: the name of the image file to be added
X: the x lower left corner coordinate of the image to be added
Y: the y lower left corner coordinate of the image to be added
ImageAddOpacity: the value for the opacity of the image to be added (0.0-1.0)
TypeImageOutput: the type of the image in output (e.g. "jpg", "png", etc.)
FileImageOutput: the name of the image file in output
addIMAGE2 (FileImageInput As String, FileImageAdd As String, ImageAddPosition As Int, ImageAddOpacity As Float, TypeImageOutput As String, FileImageOutput As String)
add image to the preset position
FileImageInput: the name of the image file in input
FileImageAdd: the name of the image file image to be added
ImageAddPosition: the value for the position of the image to be added (1-5)
ImageAddOpacity: the value for the opacity of the image to be added (0.0-1.0)
TypeImageOutput: the type of the image in output (e.g. "jpg", "png", etc.)
FileImageOutput: the name of the image file in output
addTEXT (FileImageInput As String, Text As String, X As Int, Y As Int, FontName As String, FontStyle As Int, FontSize As Int, R As Int, G As Int, B As Int, TypeImageOutput As String, FileImageOutput As String)
add text at a given position
FileImageInput: the name of the image file in input
Text: the text
X: the x lower left corner coordinate of the text
Y: the y lower left corner coordinate of the text
FontName: the name of the font face (e.g. "Tahoma", "Helvetica", etc.)
FontStyle: the value for the style of the font (0-4)
FontSize: the value for the size of the font
R: the value for the red channel (0-255)
G: the value for the green channel (0-255)
B: the value for the blue channel (0-255)
TypeImageOutput: the type of the image in output (e.g. "jpg", "png", etc.)
FileImageOutput: the name of the image file in output
IMAGE_CENTER As Int
IMAGE_LEFT_BOTTOM As Int
IMAGE_LEFT_TOP As Int
IMAGE_RIGHT_BOTTOM As Int
IMAGE_RIGHT_TOP As Int
VERSION As Double [read only]
get version
Top