styleArray.add(fs);
LineStyleArray lineStyleArray = new LineStyleArray();
Styles styles = new Styles(styleArray, lineStyleArray);
ShapeWithStyle sws = new ShapeWithStyle(styles);
// Build Raw SWF Shape
List<ShapeRecord> shapeRecords = ShapeHelper.rectangle(width, height);
ShapeHelper.setStyles(shapeRecords, 0, 1, 0, styles);
sws.addShapeRecords(shapeRecords);
// Wrap up into a SWF DefineShape Tag
DefineShape4Tag defineShape = new DefineShape4Tag();
defineShape.setShapeBounds(TypeHelper.rect(width, height));