ConstantLineStyle Class

Constant line appearance settings storage.

Declaration

public class ConstantLineStyle
extends StyleBase

Inheritance

Object
ChartElement
StyleBase
ConstantLineStyle

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

ConstantLineStyle() Constructor

Initializes a new ConstantLineStyle class instance with default parameters.

Declaration

public ConstantLineStyle()

Methods

ConstantLineStyle.getStroke() Method

Returns the constant line's stroke color.

Declaration

public Integer getStroke()

Returns

Type Description
Integer

A constant line's color.

ConstantLineStyle.getThickness() Method

Returns a constant line's thickness.

Declaration

public Float getThickness()

Returns

Type Description
Float

A constant line's thickness, in pixels.

ConstantLineStyle.setStroke(Integer) Method

Specifies the constant line's stroke color.

Declaration

public void setStroke(Integer color)

Parameters

Type Name Description
Integer color

A constant line's color.

ConstantLineStyle.setThickness(Float) Method

Specifies a constant line's thickness.

Declaration

public void setThickness(Float value)

Parameters

Type Name Description
Float value

A constant line's thickness, in pixels.