1 50 51 package org.openlaszlo.iv.flash.api.shape; 52 53 import java.io.PrintStream ; 54 import java.awt.geom.*; 55 import java.util.*; 56 57 import org.openlaszlo.iv.flash.parser.*; 58 import org.openlaszlo.iv.flash.util.*; 59 import org.openlaszlo.iv.flash.api.*; 60 61 67 public class BareShape extends ShapeRecords { 68 69 public BareShape() { 70 } 71 72 public BareShape( IVVector records ) { 73 super( records ); 74 } 75 76 82 public static BareShape parseBareShape( Parser p ) { 83 return new BareShape(parseShapeRecords(p)); 84 } 85 86 public void write( FlashOutput fob ) { 87 fob.writeByte(0); super.write(fob); 89 } 90 91 public void printContent( PrintStream out, String indent ) { 92 out.println( indent+"Shape w/o Styles:" ); 93 getShapeRecords().printContent(out, indent+" "); 94 } 95 96 protected FlashItem copyInto( FlashItem item, ScriptCopier copier ) { 97 super.copyInto( item, copier ); 98 return item; 99 } 100 101 public FlashItem getCopy( ScriptCopier copier ) { 102 return copyInto( new BareShape(), copier ); 103 } 104 105 } 106 107 | Popular Tags |