Defines the markup text object of the viewpoint.

interface IText {
    angle?: number;
    color?: string;
    font_size?: number;
    id?: string;
    position: IPoint;
    text: string;
    text_size?: number;
}

Properties

angle?: number

Text rotation angle of the object, in degress.

color?: string

Text color in hexadecimal color syntax #RGB using its primary color components (red, green, blue) written as hexadecimal numbers.

font_size?: number

Font size of the text.

id?: string

Internal markup object identifier.

position: IPoint

Coordinates of the top-left point (position) of the text.

text: string

Text string.

text_size?: number

Deprecated. Use font_size instead.