public class BBXImageFactory extends Object
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.Constructor and Description |
---|
BBXImageFactory() |
Modifier and Type | Method and Description |
---|---|
static BBXImage |
createImageFromBBjImage(BBjImage p_image!)
Creates a BBXImage from a BBjImage
|
static BBXImage |
createImageFromImage(Image p_image!)
Creates a BBXImage from a Java Image Object
|
static BBXImage |
createImageFromImageIcon(ImageIcon p_image!)
Creates a BBXImage from a Java ImageIcon object
|
static BBXImage |
createImageFromServerFile(BBjString p_serverFileName$)
Creates a BBXImage from a server file
|
static BBXImage |
createImageFromURL(BBjString p_imageURL$)
Creates a BBXImage from a string represetatin of a URL
|
public static BBXImage createImageFromServerFile(BBjString p_serverFileName$)
p_serverFileName$
- The path to an image file on the server from which the BBXImage will be created.public static BBXImage createImageFromBBjImage(BBjImage p_image!)
p_image!
- A BBjImage from which the BBXImage will be created.public static BBXImage createImageFromURL(BBjString p_imageURL$)
p_imageURL!
- A string represetation of the URL to the image from which the BBXImage will be created.public static BBXImage createImageFromImageIcon(ImageIcon p_image!)
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 BBXImage createImageFromImage(Image p_image!)
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