Resource Base
Table of contents

TextTypewriterAnnotationOptions

Syntax

interface TextTypewriterAnnotationOptions {
    x?: number;
    y?: number;
    textContents?: TextContent[];
    opacity?: number; // The value range is [0,1], value which is greater than 1 will default to 1.
    flags?: Flags;
}

Attributes

x

The x-coordinate of the upper-left corner of the text typewriter annotation to draw.

Default value: 10

y

The y-coordinate of the upper-left corner of the text typewriter annotation to draw.

Default value: 10

textContents

The text contents of the text typewriter annotation. The content in the interface TextContent cannot be an empty string. Please refer to TextContent.

Default value: [{content: "Insert text here",}]

opacity

The opacity of the whole annotation. The value range is [0,1], value which is greater than 1 will default to 1.

Default value: 1

flags

The flags of annotation.

Please refer to Flags.

This page is compatible for:

Is this page helpful?

YesYes NoNo

In this article:

latest version

    • Latest version(2.0)
    • Version 1.x
      • Version 1.1
    Change +