StaticCrosshairLabelPosition Class
A Crosshair’s Label has a static position.
Declaration
public class StaticCrosshairLabelPosition
extends CrosshairLabelPositionBase
Remarks
Inherited Members
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. |