package myGraphics.Shape3d; class PathTableEntry { public static final int OP_NULL = 0; public static final int OP_MOVE_TO = 1; public static final int OP_LINE_TO = 2; public static final int OP_BEZIER_TO = 3; public int opcode = OP_NULL; public double x1 = 0.0, y1 = 0.0; public double x2 = 0.0, y2 = 0.0; public double x3 = 0.0, y3 = 0.0; public double x4 = 0.0, y4 = 0.0; public PathTableEntry() { opcode = OP_NULL; x1 = 0.0; y1 = 0.0; x2 = 0.0; y2 = 0.0; x3 = 0.0; y3 = 0.0; x4 = 0.0; y4 = 0.0; } public PathTableEntry copy() { PathTableEntry target = new PathTableEntry(); target.opcode = opcode; target.x1 = x1; target.y1 = y1; target.x2 = x2; target.y2 = y2; target.x3 = x3; target.y3 = y3; target.x4 = x4; target.y4 = y4; return target; } }