Skip to main content

StaticCrosshairLabelPosition Class

A Crosshair’s Label has a static position.

Declaration

public class StaticCrosshairLabelPosition
extends CrosshairLabelPositionBase

Remarks

Static crosshair label

Inherited Members

java.lang.Object.equals(java.lang.Object)(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)(long)
java.lang.Object.wait(long, int)(long,int)

Inheritance

StaticCrosshairLabelPosition()

Initializes a new StaticLabelPosition class instance with default parameters.

Declaration

public StaticCrosshairLabelPosition()

Methods

getHorizontalAlignment() Method

Returns the value that specifies a label’s horizontal alignment.

Declaration

public LabelPositionHorizontalAlignment getHorizontalAlignment()

Returns

Type Description
LabelPositionHorizontalAlignment

The LabelPositionHorizontalAlignment enumeration value that defines a Crosshair Label’s horizontal alignment.

getVerticalAlignment() Method

Returns the value that specifies a label’s vertical alignment.

Declaration

public LabelPositionVerticalAlignment getVerticalAlignment()

Returns

Type Description
LabelPositionVerticalAlignment

The LabelPositionVerticalAlignment enumeration value that defines a Crosshair Label’s vertical alignment.

setHorizontalAlignment(LabelPositionHorizontalAlignment) Method

Specifies the value that specifies a label’s horizontal alignment.

Declaration

public void setHorizontalAlignment(LabelPositionHorizontalAlignment alignment)

Parameters

Name Type Description
alignment LabelPositionHorizontalAlignment

The LabelPositionHorizontalAlignment enumeration value that defines a Crosshair Label’s horizontal alignment.

setVerticalAlignment(LabelPositionVerticalAlignment) Method

Specifies the value that specifies a label’s vertical alignment.

Declaration

public void setVerticalAlignment(LabelPositionVerticalAlignment alignment)

Parameters

Name Type Description
alignment LabelPositionVerticalAlignment

The LabelPositionVerticalAlignment enumeration value that defines a Crosshair Label’s vertical alignment.