| Modifier and Type | Field and Description |
|---|---|
| private final float[] | |
| private final float[] | |
| protected final Set | |
| private final Point | |
| private final Point |
| Access | Constructor and Description |
|---|---|
| pack-priv |
| Modifier and Type | Method and Description |
|---|---|
| protected float[] | |
| private Set | Returns: all the points on the rasterized line from (x0, y0) to (x1, y1)coordinate x0, int coordinate y0, int coordinate x1, int coordinate y1)Calculate the points of a line with Bresenham's line algorithm Bresenham's line algorithm |
| color0 | back to summary |
|---|---|
| private final float[] color0 | |
| color1 | back to summary |
|---|---|
| private final float[] color1 | |
| linePoints | back to summary |
|---|---|
| protected final Set<Point> linePoints | |
| point0 | back to summary |
|---|---|
| private final Point point0 | |
| point1 | back to summary |
|---|---|
| private final Point point1 | |
| Line | back to summary |
|---|---|
| pack-priv Line(Point p0, Point p1, float[] c0, float[] c1) Constructor of class Line. | |
| calcColor | back to summary |
|---|---|
| protected float[] calcColor(Point p) Calculate the color of a point on a rasterized line by linear interpolation.
| |
| calcLine | back to summary |
|---|---|
| private Set Calculate the points of a line with Bresenham's line algorithm Bresenham's line algorithm | |