The requested page is not available for the requested platform. You are viewing the content for Default platform.

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

getStroke() Method

Returns the constant line's stroke color.

Declaration

public Integer getStroke()

Returns

Type Description
Integer

A constant line's color.

getThickness() Method

Returns a constant line's thickness.

Declaration

public Float getThickness()

Returns

Type Description
Float

A constant line's thickness, in pixels.

setStroke(Integer) Method

Specifies the constant line's stroke color.

Declaration

public void setStroke(Integer color)

Parameters

Name Type Description
color Integer

A constant line's color.

setThickness(Float) Method

Specifies a constant line's thickness.

Declaration

public void setThickness(Float value)

Parameters

Name Type Description
value Float

A constant line's thickness, in pixels.