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