public class PivotingImageShaper
extends java.lang.Object
Constructor and Description |
---|
PivotingImageShaper() |
Modifier and Type | Method and Description |
---|---|
static java.awt.Shape |
getShape(java.awt.image.BufferedImage image)
Given an image, possibly with a transparent background, return
the Shape of the opaque part of the image
|
static java.awt.Shape |
getShape(java.awt.image.BufferedImage image,
int max)
Given an image, possibly with a transparent background, return
the Shape of the opaque part of the image
|
static java.awt.Shape |
getShape(java.awt.Image image)
Given an image, possibly with a transparent background, return
the Shape of the opaque part of the image
|
static java.awt.Shape |
getShape(java.awt.Image image,
int max) |
static java.awt.Shape |
getShape(java.lang.String fileName) |
static java.awt.Shape |
getShape(java.lang.String fileName,
int max) |
public static java.awt.Shape getShape(java.lang.String fileName)
public static java.awt.Shape getShape(java.lang.String fileName, int max)
public static java.awt.Shape getShape(java.awt.Image image)
image
- public static java.awt.Shape getShape(java.awt.Image image, int max)
public static java.awt.Shape getShape(java.awt.image.BufferedImage image, int max)
image
- public static java.awt.Shape getShape(java.awt.image.BufferedImage image)
image
-