コード例 #1
0
  /**
   * fill and stroke the path.
   *
   * @param operator The operator that is being executed.
   * @param arguments List
   * @throws IOException If an error occurs while processing the font.
   */
  public void process(PDFOperator operator, List arguments) throws IOException {
    PDFObjectExtractor drawer = (PDFObjectExtractor) context;
    drawer.simpleFillPath();
    GeneralPath currentPath = (GeneralPath) drawer.getLinePath().clone();

    context.processOperator("f", arguments);
    drawer.setLinePath(currentPath);

    context.processOperator("S", arguments);
  }