addNode("LineStyles", crecord.getLineStyles());
addNode("TypeFlag", crecord.getNumFillBits());
addNode("TypeFlag", crecord.getNumLineBits());
}
else if (shapeRecord instanceof EndShapeRecord) {
final EndShapeRecord crecord = (EndShapeRecord) shapeRecord;
addNode("TypeFlag", crecord.getTypeFlag());
addNode("EndOfShape", crecord.getEndOfShape());
}
else {
throw new IllegalStateException("Unknown shape record");
}
}