it.andynaz.irex.dr1000.scribble
Class Page
java.lang.Object
it.andynaz.irex.dr1000.scribble.Page
public class Page
- extends Object
Represent a page of scribbles.
The scribbles are organized as a list of Stroke
objects.
- Version:
- 2013-01-04
- Author:
- andynaz
Constructor Summary |
Page()
Creates a new Page object. |
Method Summary |
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. |
Methods inherited from class java.lang.Object |
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
lStroke
private List<Stroke> lStroke
Page
public Page()
- Creates a new Page object.
addStroke
public void addStroke(Stroke s)
- Add a stroke.
- Parameters:
s
- the stroke to add
drawStrokes
public void drawStrokes(com.lowagie.text.pdf.PdfContentByte cb,
float xAdjust,
float yAdjust)
- Draw all the strokes of this page.
- Parameters:
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
(c) 2013 andynaz - http://andynaz.altervista.org