|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||
java.lang.Objectcom.itextpdf.text.pdf.parser.LineDashPattern
public class LineDashPattern
Represents the line dash pattern. The line dash pattern shall control the pattern of dashes and gaps used to stroke paths. It shall be specified by a dash array and a dash phase.
| Nested Class Summary | |
|---|---|
class |
LineDashPattern.DashArrayElem
|
| Constructor Summary | |
|---|---|
LineDashPattern(PdfArray dashArray,
float dashPhase)
Creates new LineDashPattern object. |
|
| Method Summary | |
|---|---|
PdfArray |
getDashArray()
Getter for the dash array. |
float |
getDashPhase()
Getter for the dash phase. |
boolean |
isSolid()
Checks whether the dashed pattern is solid or not. |
LineDashPattern.DashArrayElem |
next()
Calculates and returns the next element which is either gap or dash. |
void |
reset()
Resets the dash array so that the next() method will start
from the beginning of the dash array. |
void |
setDashArray(PdfArray dashArray)
Setter for the dash array. |
void |
setDashPhase(float dashPhase)
Setter for the dash phase. |
| Methods inherited from class java.lang.Object |
|---|
clone, equals, finalize, getClass, hashCode, notify, notifyAll, toString, wait, wait, wait |
| Constructor Detail |
|---|
public LineDashPattern(PdfArray dashArray,
float dashPhase)
LineDashPattern object.
dashArray - The dash array. See getDashArray()dashPhase - The dash phase. See getDashPhase()| Method Detail |
|---|
public PdfArray getDashArray()
public void setDashArray(PdfArray dashArray)
getDashArray()
dashArray - New dash array.public float getDashPhase()
public void setDashPhase(float dashPhase)
getDashArray()
dashPhase - New dash phase.public LineDashPattern.DashArrayElem next()
public void reset()
next() method will start
from the beginning of the dash array.
public boolean isSolid()
|
||||||||||
| PREV CLASS NEXT CLASS | FRAMES NO FRAMES | |||||||||
| SUMMARY: NESTED | FIELD | CONSTR | METHOD | DETAIL: FIELD | CONSTR | METHOD | |||||||||