public class DiskImageTools
extends java.lang.Object
Constructor and Description |
---|
DiskImageTools() |
Modifier and Type | Method and Description |
---|---|
static java.awt.image.BufferedImage |
createCorrectedImage(java.awt.image.BufferedImage source,
java.awt.geom.Point2D.Double center,
EllipseParameters cp,
double startedAngle,
int resultWidth,
int resultHeight)
create a corrected image of the disk
|
public static java.awt.image.BufferedImage createCorrectedImage(java.awt.image.BufferedImage source, java.awt.geom.Point2D.Double center, EllipseParameters cp, double startedAngle, int resultWidth, int resultHeight) throws java.lang.Exception
source
- the image sourcecenter
- the center of the diskcp
- the parameters of the disk perimeters (ellipse for more
precision)startAngle
- the angle of the beginning of the diskjava.lang.Exception