public class SolidPolygon extends AbstractCoordinateShape {
- final static LineInterpolator polygonBoundary1 = new LineInterpolator();
- final static LineInterpolator polygonBoundary2 = new LineInterpolator();
- final static LineInterpolator polygonBoundary3 = new LineInterpolator();
+ private final static LineInterpolator polygonBoundary1 = new LineInterpolator();
+ private final static LineInterpolator polygonBoundary2 = new LineInterpolator();
+ private final static LineInterpolator polygonBoundary3 = new LineInterpolator();
private Color color;
public SolidPolygon(final Point3D point1, final Point3D point2,
final int width = x2 - x1;
int offset = ((y * renderBuffer.width) + x1) * 4;
- final byte[] offSreenBufferBytes = renderBuffer.bytes;
+ final byte[] offSreenBufferBytes = renderBuffer.pixels;
final int polygonAlpha = color.a;
final int b = color.b;