|
iRex DR1000 Merger v0.4.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |
java.lang.Objectit.andynaz.irex.dr1000.scribble.Page
public class Page
Represent a page of scribbles.
To create a Page
object from a blob, use the Parser.build(byte[])
method.
Field Summary | |
---|---|
private List<Stroke> |
strokes
List of strokes. |
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, using the default color for the strokes (as specified in the ColorMgr class). |
void |
drawStrokes(com.lowagie.text.pdf.PdfContentByte cb,
float xAdjust,
float yAdjust,
Color c)
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 |
Field Detail |
---|
private List<Stroke> strokes
Constructor Detail |
---|
public Page()
Method Detail |
---|
public void addStroke(Stroke s)
s
- the stroke to addpublic void drawStrokes(com.lowagie.text.pdf.PdfContentByte cb, float xAdjust, float yAdjust, Color c)
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 strokesc
- color of the strokepublic void drawStrokes(com.lowagie.text.pdf.PdfContentByte cb, float xAdjust, float yAdjust)
ColorMgr
class).
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 strokesdrawStrokes(com.lowagie.text.pdf.PdfContentByte, float, float, java.awt.Color)
|
iRex DR1000 Merger v0.4.1 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |