|
iRex DR1000 Manager v0.5.3 | ||||||||
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.
A page is made of various strokes
.
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 color 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. |
List<Stroke> |
getStrokes()
Returns the list of strokes in 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)
null
.
s
- the stroke to be addedpublic List<Stroke> getStrokes()
public 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 strokespublic 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(PdfContentByte, float, float, Color)
|
iRex DR1000 Manager v0.5.3 | ||||||||
PREV CLASS NEXT CLASS | FRAMES NO FRAMES | ||||||||
SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD |