setX2

[ Function ]

public setX2(newValue: number | null): void;

This function sets a new value for the X2 attribute.

Parameter

Name

Type

Description

newValue

number, null

The new value of the attribute. If null is passed, the internal default value is used.

Return value

Type

Description

void

No return value.

See also

Attribute getter: getX2

Origin: TcHmiLine

setX2 1:

Available from 1.8