Java org.apache.pdfbox.pdmodel PDPageContentStream fields, constructors, methods, implement or subclass

Example usage for Java org.apache.pdfbox.pdmodel PDPageContentStream fields, constructors, methods, implement or subclass

Introduction

In this page you can find the methods, fields and constructors for org.apache.pdfbox.pdmodel PDPageContentStream.

The text is from its open source code.

Constructor

Method

voiddrawLine(float xStart, float yStart, float xEnd, float yEnd)
Draw a line on the page using the current stroking color and the current line width.
voiddrawString(String text)
This will draw a string at the current location on the screen.
voiddrawXObject(PDXObject xobject, float x, float y, float width, float height)
Draw an xobject(form or image) at the x,y coordinates and a certain width and height.
voidfillRect(float x, float y, float width, float height)
Fill a rectangle on the page using the current non stroking color.
voidmoveTextPositionByAmount(float tx, float ty)
The Td operator.
voidsetNonStrokingColor(float[] components)
Set the color components of current non-stroking color space.
voidsetStrokingColor(float[] components)
Set the color components of current stroking color space.
voidsetStrokingColor(int g)
Set the stroking color in the DeviceGray color space.
voidsetTextMatrix(AffineTransform matrix)
The Tm operator.