public class LineDashPattern extends Object
| Modifier and Type | Class | Description |
|---|---|---|
class |
LineDashPattern.DashArrayElem |
| Constructor | Description |
|---|---|
LineDashPattern(PdfArray dashArray,
float dashPhase) |
Creates new
LineDashPattern object. |
| Modifier and Type | Method | Description |
|---|---|---|
PdfArray |
getDashArray() |
Getter for the dash array.
|
float |
getDashPhase() |
Getter for the dash phase.
|
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.
|
public LineDashPattern(PdfArray dashArray, float dashPhase)
LineDashPattern object.dashArray - The dash array. See getDashArray()dashPhase - The dash phase. See getDashPhase()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.Copyright © 2018. All rights reserved.