Skip to main content

LineStyle Class

A dash pattern used to draw lines and outlines.

Declaration

public class LineStyle 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
LineStyle

LineStyle()

Initializes a new instance of the LineStyle class.

Declaration

public LineStyle()

Methods

clone(DocumentCloneContext context) Method

Creates a copy of the current object.

Declaration

public LineStyle clone(DocumentCloneContext context)

Parameters

Name Type Description
context DocumentCloneContext

The document clone context.

Returns

Type Description
LineStyle

A new LineStyle object that is a copy of the current instance.

deepClone() Method

Creates a deep copy of the current object.

Declaration

public LineStyle deepClone()

Returns

Type Description
LineStyle

A deep copy of the current object.

getDashPattern() Method

Returns the dash pattern.

Declaration

public double[] getDashPattern()

Returns

Type Description
double[]

The sequence of dash and gap lengths used to draw the line.

getDashPhase() Method

Returns the dash phase.

Declaration

public double getDashPhase()

Returns

Type Description
double

The offset into the dash pattern at which drawing starts.

getIsDashed() Method

Returns whether the line uses a dash pattern.

Declaration

public boolean getIsDashed()

Returns

Type Description
boolean

true if a dash pattern is applied to the line; otherwise, false.

objectClone() Method

Creates a copy of the current object.

Declaration

public Object objectClone()

Returns

Type Description
Object

A copy of the current object.

setDashPattern(double[] value) Method

Sets the dash pattern.

Declaration

public void setDashPattern(double[] value)

Parameters

Name Type Description
value double[]

The sequence of dash and gap lengths used to draw the line.

setDashPhase(double value) Method

Sets the dash phase.

Declaration

public void setDashPhase(double value)

Parameters

Name Type Description
value double

The offset into the dash pattern at which drawing starts.