public class BBXImageFactory
In BBj 9.00 and higher, the BBXImageFactory
is a BBj Custom Class that aids in image manipulation including the ability to resize, rotate, adjust opacity, add borders, drop shadows, reflections, and more.
Modifier and Type | Method and Description |
---|---|
static Image | createImageFromBBjImage(BBjImage p_image!) Creates a BBXImage from a BBjImage |
static Image | createImageFromImage(Image p_image!) Creates a BBXImage from a Java Image Object |
static Image | createImageFromImageIcon(javax.swing.ImageIcon p_image!) Creates a BBXImage from a Java ImageIcon object |
static Image | createImageFromServerFile(BBjString p_serverFileName$) Creates a BBXImage from a server file |
static Image | createImageFromURL(BBjString p_imageURL$) Creates a BBXImage from a string represetatin of a URL |
static Image | createImageFromURL(URL p_imageURL!) Creates a BBXImage from a URL |
public static Image createImageFromBBjImage(BBjImage p_image!)
Creates a BBXImage from a BBjImage
p_image!
A BBjImage from which the BBXImage will be created.public static Image createImageFromImage(Image p_image!)
Creates a BBXImage from a Java Image Object
p_image!
A Java Image object from which the BBXImage will be created. http://docs.oracle.com/javase/8/docs/api/java/awt/Image.html
public static Image createImageFromImageIcon(javax.swing.ImageIcon p_image!)
Creates a BBXImage from a Java ImageIcon object
p_image!
A Java ImageIcon object from which the BBXImage will be created. http://docs.oracle.com/javase/8/docs/api/javax/swing/ImageIcon.html
public static Image createImageFromServerFile(BBjString p_serverFileName$)
Creates a BBXImage from a server file
p_serverFileName$
The path to an image file on the server from which the BBXImage will be created.public static Image createImageFromURL(BBjString p_imageURL$)
Creates a BBXImage from a string represetatin of a URL
p_imageURL!
A string represetation of the URL to the image from which the BBXImage will be created.