/** * Constructor - used when writing * * @param st the shape type * @param sid the shape id * @param p persistence flags */ public Sp(ShapeType st, int sid, int p) : base(EscherRecordType.SP) { setVersion(2); shapeType = st.getValue(); shapeId = sid; persistenceFlags = p; setInstance(shapeType); }
/** * Constructor - used when writing * * @param st the shape type * @param sid the shape id * @param p persistence flags */ public Sp(ShapeType st,int sid,int p) : base(EscherRecordType.SP) { setVersion(2); shapeType = st.getValue(); shapeId = sid; persistenceFlags = p; setInstance(shapeType); }