ITextOutline

Text outline dialog for low-contrast text in the Rich Text. The feature is turned off by default.

Properties

Optional brightnessThreshold

brightnessThreshold: number

The brightness threshold. The default value is 5.

Optional color

color: string

Outline color. The default value is "rgba(0, 0, 0, 0.2)".

Optional enabled

enabled: boolean

Enables text outline; the text is outlined in the Rich Text dialog if the difference between text color and background color is below the hue or the brightness threshold. The default value is false.

Optional hueThreshold

hueThreshold: number

The hue threshold. The default value is 74.