setOpacity

[ Function ]

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

This function sets a new value for the Opacity 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: getOpacity

Origin: TcHmiControl

setOpacity 1:

Available from 1.8