private class Aperture.Pixel extends Rectangle2D.Double
Rectangle2D.Double, Rectangle2D.Float| Modifier and Type | Field and Description |
|---|---|
private double |
height
Height of the pixel.
|
private int |
split
Current splitting level.
|
private double |
width
Width of the pixel.
|
private Point2D |
xy
Center of the pixel.
|
x, yOUT_BOTTOM, OUT_LEFT, OUT_RIGHT, OUT_TOP| Modifier | Constructor and Description |
|---|---|
private |
Pixel(Point2D center,
double w,
double h,
int level)
Constructs a new pixel.
|
| Modifier and Type | Method and Description |
|---|---|
private int |
getSplitLevel()
Returns the split level of this pixel.
|
private Aperture.Pixel[] |
split()
Spilts this pixel into sub-pixels.
|
createIntersection, createUnion, getBounds2D, getHeight, getWidth, getX, getY, isEmpty, outcode, setRect, setRect, toStringadd, add, add, contains, contains, equals, getPathIterator, getPathIterator, hashCode, intersect, intersects, intersectsLine, intersectsLine, outcode, setFrame, unionclone, contains, contains, getBounds, getCenterX, getCenterY, getFrame, getMaxX, getMaxY, getMinX, getMinY, intersects, setFrame, setFrame, setFrameFromCenter, setFrameFromCenter, setFrameFromDiagonal, setFrameFromDiagonalprivate Point2D xy
private double width
private double height
private int split
private Pixel(Point2D center, double w, double h, int level)
private int getSplitLevel()
private Aperture.Pixel[] split()