New to Kendo UI for AngularStart a free 30-day trial

TextRun

Interface

Defines a text run within a rich text paragraph. A text run is a contiguous range of text with the same formatting.

Definition

Package:@progress/kendo-angular-diagrams

Properties

bold?

boolean

Specifies whether the text is bold.

color?

string

The color of the text. Accepts valid CSS colors.

The font family of the text.

Default:

"sans-serif"

fontSize?

number

The font size in pixels of the text.

Default:

15

italic?

boolean

Specifies whether the text is italic.

text

string

The text content of the run.

type?

"text"

The type of the run. Can be omitted for text runs.

underline?

boolean

Specifies whether the text is underlined.