Examples of beginLocalState()


Examples of org.pdfclown.documents.contents.composition.PrimitiveComposer.beginLocalState()

    composer.setFillColor(TextColor_Highlight);
    blockComposer.showText("fully object-oriented access to the graphics objects that describe the contents on a page.");
    composer.end();
    blockComposer.showText(" It's a great step towards a whole bunch of possibilities, such as text extraction/replacement, that next releases will progressively exploit."); blockComposer.showBreak(breakSize);
    blockComposer.showText("Since version 0.0.6 it has supported ");
    composer.beginLocalState();
    composer.setFillColor(TextColor_Highlight);
    blockComposer.showText("Unicode");
    composer.end();
    blockComposer.showText(" for OpenFont/TrueType fonts."); blockComposer.showBreak(breakSize);
    composer.setFont(font,8);
View Full Code Here

Examples of org.pdfclown.documents.contents.composition.PrimitiveComposer.beginLocalState()

    blockComposer.showText("Unicode");
    composer.end();
    blockComposer.showText(" for OpenFont/TrueType fonts."); blockComposer.showBreak(breakSize);
    composer.setFont(font,8);
    blockComposer.showText("This page was crafted with the nice");
    composer.beginLocalState();
    composer.setFont(font,10);
    blockComposer.showText(" LazyDog font");
    composer.end();
    blockComposer.showText(" (by Paul Neave, www.neave.com)");
    blockComposer.end();
View Full Code Here

Examples of org.pdfclown.documents.contents.composition.PrimitiveComposer.beginLocalState()

        125
        )
      );

    // Showing the 'PDFClown' label inside the common content stream...
    composer.beginLocalState();
    composer.setFillColor(
      new DeviceRGBColor(115f/255,164f/255,232f/255)
      );
    // Set the font to use!
    composer.setFont(
View Full Code Here

Examples of org.pdfclown.documents.contents.composition.PrimitiveComposer.beginLocalState()

      blockComposer.showText("\n\nClick on the text links to go either to the project's SourceForge.net repository or to the project's home page.");
      blockComposer.end();

      try
      {
        composer.beginLocalState();
        composer.setFont(font,10);
        composer.setFillColor(new DeviceRGBColor(0,0,1));
        composer.showText(
          "PDF Clown Project's repository at SourceForge.net",
          new Point2D.Double(240,265),
View Full Code Here

Examples of org.pdfclown.documents.contents.composition.PrimitiveComposer.beginLocalState()

        )
      );
    attachment.setText("File attachment annotation");
    attachment.setIconType(FileAttachment.IconTypeEnum.PaperClip);

    composer.beginLocalState();
   
    // Arrow line.
    composer.showText("Line annotation:", new Point(35,185));
    composer.setFont(font,10);
    composer.showText("Arrow:", new Point(50,200));
View Full Code Here

Examples of org.pdfclown.documents.contents.composition.PrimitiveComposer.beginLocalState()

          )
        {
          Rectangle2D arcFrame = new Rectangle2D.Double(x,y,diameterX,diameterY);

          // Drawing the arc frame...
          composer.beginLocalState();
          composer.setLineWidth(.25f);
          composer.setLineDash(3,5,5);
          composer.drawRectangle(arcFrame);
          composer.stroke();
          composer.end();
View Full Code Here

Examples of org.pdfclown.documents.contents.composition.PrimitiveComposer.beginLocalState()

        100,
        100
        );

      // Drawing the circle frame...
      composer.beginLocalState();
      composer.setLineWidth(.25f);
      composer.setLineDash(3,5,5);
      composer.drawRectangle(arcFrame);
      composer.stroke();
      composer.end();
View Full Code Here

Examples of org.pdfclown.documents.contents.composition.PrimitiveComposer.beginLocalState()

        100,
        50
        );

      // Drawing the ellipse frame...
      composer.beginLocalState();
      composer.setLineWidth(.25f);
      composer.setLineDash(3,5,5);
      composer.drawRectangle(arcFrame);
      composer.stroke();
      composer.end();
View Full Code Here

Examples of org.pdfclown.documents.contents.composition.PrimitiveComposer.beginLocalState()

        50,
        100
        );

      // Drawing the ellipse frame...
      composer.beginLocalState();
      composer.setLineWidth(.25f);
      composer.setLineDash(3,5,5);
      composer.drawRectangle(arcFrame);
      composer.stroke();
      composer.end();
View Full Code Here

Examples of org.pdfclown.documents.contents.composition.PrimitiveComposer.beginLocalState()

      blockComposer.begin(new Rectangle2D.Double(30,0,pageSize.getWidth()-60,50),AlignmentXEnum.Center,AlignmentYEnum.Middle);
      blockComposer.showText("Miscellaneous");
      blockComposer.end();
    }

    composer.beginLocalState();
    composer.setLineJoin(LineJoinEnum.Round);
    composer.setLineCap(LineCapEnum.Round);

    // 3.1. Polygon.
    composer.drawPolygon(
View Full Code Here
TOP
Copyright © 2018 www.massapi.com. All rights reserved.
All source code are property of their respective owners. Java is a trademark of Sun Microsystems, Inc and owned by ORACLE Inc. Contact coftware#gmail.com.