CrosshairLineStyle Class

The crosshair line style's settings storage.

Declaration

public class CrosshairLineStyle
extends TextElementStyleBase

Remarks

The CrosshairLineStyle class configures the following parameters:

crosshair line style settings

Inheritance

Inherited Members

java.lang.Object.equals(java.lang.Object)
java.lang.Object.hashCode()
java.lang.Object.notify()
java.lang.Object.notifyAll()
java.lang.Object.toString()
java.lang.Object.wait()
java.lang.Object.wait(long)
java.lang.Object.wait(long, int)

Constructors

CrosshairLineStyle() Constructor

Initializes a new CrosshairLineStyle class instance with default parameters.

Declaration

public CrosshairLineStyle()

Methods

CrosshairLineStyle.getLabelBackgroundColor() Method

Returns the crosshair axis label's color.

Declaration

public Integer getLabelBackgroundColor()

Returns

Type Description
Integer

The crosshair axis label's color.

CrosshairLineStyle.getStroke() Method

Returns crosshair line's stroke color.

Declaration

public Integer getStroke()

Returns

Type Description
Integer

The crosshair line's stroke color.

CrosshairLineStyle.getThickness() Method

Returns the crosshair's line thickness.

Declaration

public Float getThickness()

Returns

Type Description
Float

Line thickness in pixels.

CrosshairLineStyle.setLabelBackgroundColor(Integer) Method

Specifies the crosshair axis label's color.

Declaration

public void setLabelBackgroundColor(Integer color)

Parameters

Type Name Description
Integer color

The crosshair axis label's color.

CrosshairLineStyle.setStroke(Integer) Method

Specifies crosshair line's stroke color.

Declaration

public void setStroke(Integer stroke)

Parameters

Type Name Description
Integer stroke

The crosshair line's stroke color.

CrosshairLineStyle.setThickness(Float) Method

Specifies the crosshair's line thickness.

Declaration

public void setThickness(Float thickness)

Parameters

Type Name Description
Float thickness

Line thickness in pixels.