/** * Constructs a new RtfShape of a given shape at the given RtfShapePosition. * * @param type The type of shape to create. * @param position The RtfShapePosition to create this RtfShape at. */ public RtfShape(int type, RtfShapePosition position) { this.type = type; this.position = position; this.properties = new Hashtable(); }