ETcVnDrawShape

Offers shapes to be drawn.

Syntax

Definition:

TYPE ETcVnDrawShape :
(
    TCVN_DS_RANDOM  := -1,
    TCVN_DS_CIRCLE  := 0,
    TCVN_DS_SQUARE  := 1,
    TCVN_DS_PLUS    := 2,
    TCVN_DS_X       := 3,
    TCVN_DS_DIAMOND := 4,
    TCVN_DS_MAX     := 5
)DINT;
END_TYPE

Values

Name

Description

TCVN_DS_RANDOM

Randomly select a circle, square, plus, X or diamond.

TCVN_DS_CIRCLE

Circle

TCVN_DS_SQUARE

Square

TCVN_DS_PLUS

+

TCVN_DS_X

x

TCVN_DS_DIAMOND

Diamond

TCVN_DS_MAX

For internal use only, adapted when adding new values.

Verwandte Funktionen