DashPattern Class
A dash pattern that defines the appearance of dashed lines in a PDF document.
Declaration
public class DashPattern extends JavaObject implements ICloneable
Implements
com.devexpress.system.ICloneable
Inherited Members
com.devexpress.system.JavaObject.clone()
com.devexpress.system.JavaObject.equals(java.lang.Object)
com.devexpress.system.JavaObject.hashCode()
com.devexpress.system.JavaObject.initFields()
com.devexpress.system.JavaObject.memberwiseClone()
com.devexpress.system.JavaObject.toString()
java.lang.Object.finalize()
java.lang.Object.getClass()
java.lang.Object.notify()
java.lang.Object.notifyAll()
java.lang.Object.wait()
java.lang.Object.wait(long)
java.lang.Object.wait(long,int)
Inheritance
Object
com.devexpress.system.JavaObject
DashPattern
DashPattern(double[] pattern, double phase)
Initializes a new instance of the DashPattern class with specified dash pattern and phase.
Declaration
public DashPattern(double[] pattern, double phase)
Parameters
| Name | Type | Description |
|---|---|---|
| pattern | double[] | An array of values that define the lengths of alternating dashes and gaps. |
| phase | double | The starting offset of the dash pattern. |
Methods
deepClone() Method
Creates a deep copy of the current object.
Declaration
public DashPattern deepClone()
Returns
| Type | Description |
|---|---|
DashPattern |
A deep copy of the current object. |
getPattern() Method
Returns the array of values that define the dash pattern.
Declaration
public double[] getPattern()
Returns
| Type | Description |
|---|---|
| double[] | An array of values that define the lengths of alternating dashes and gaps. |
getPhase() Method
Returns the starting offset of the dash pattern.
Declaration
public double getPhase()
Returns
| Type | Description |
|---|---|
| double | The starting offset of the dash pattern. |
objectClone() Method
Creates a copy of the current object.
Declaration
public Object objectClone()
Returns
| Type | Description |
|---|---|
| Object | A copy of the current object. |