public class Page extends Object
strokes
.
To create a Page
object from a blob, use the Parser.build(byte[])
method.
Modifier and Type | Field and Description |
---|---|
private List<Stroke> |
strokes
List of strokes.
|
Constructor and Description |
---|
Page()
Creates a new Page object.
|
Modifier and Type | Method and Description |
---|---|
void |
addStroke(Stroke s)
Add a stroke.
|
void |
drawStrokes(com.lowagie.text.pdf.PdfContentByte cb,
float xAdjust,
float yAdjust)
Draw all the strokes of this page.
|
List<Stroke> |
getStrokes()
Returns the list of strokes in this page.
|
public void addStroke(Stroke s)
null
.s
- the stroke to be addedpublic List<Stroke> getStrokes()
public void drawStrokes(com.lowagie.text.pdf.PdfContentByte cb, float xAdjust, float yAdjust)
draw
method.cb
- the content of the PDFxAdjust
- the parameter to adjust the 'x' coordinates of the strokesyAdjust
- the parameter to adjust the 'y' coordinates of the strokes© 2013 andynaz - http://andynaz.altervista.org