Exemplo n.º 1
0
 /**
 * 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();
 }
Exemplo n.º 2
0
 /**
  * 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();
 }