HighlightStyleArgs: { borderColor?: string; borderWidth?: number; color?: string }

Options for customizing the appearance of a text highlight.

Type declaration

  • Optional borderColor?: string

    The border color for the highlight, specified in rgba, hex, or named color format.

  • Optional borderWidth?: number

    The width of the highlight border in pixels.

  • Optional color?: string

    The fill color for the highlight, specified in rgba, hex, or named color format.