# AccessibilityTextStyleRun

`import { AccessibilityTextStyleRun } from "destack:accessibility/binding";`

Attributed text run.

```ds title="AccessibilityTextStyleRun"
export struct AccessibilityTextStyleRun {
    range: AccessibilityTextRange;
    languageTag: string;
    fontFamily: string;
    fontSizePoints: float64;
    foregroundColorRgba: uint32;
    backgroundColorRgba: uint32;
    isBold: boolean;
    isItalic: boolean;
    isUnderlined: boolean;
    isStruckThrough: boolean;
    isSuperscript: boolean;
    isSubscript: boolean;
    isMisspelled: boolean;
    isGrammarError: boolean;
    linkUrl: string;
}
```

[language/library/src/accessibility/binding/text.ds:111:142](https://github.com/destack-sh/destack/blob/main/language/library/src/accessibility/binding/text.ds#L111-L142)

## Members

### `range: AccessibilityTextRange`

Covered text range in UTF-16 code units.

### `languageTag: string`

BCP 47 language tag.

### `fontFamily: string`

Font family name.

### `fontSizePoints: float64`

Font size in typographic points.

### `foregroundColorRgba: uint32`

Foreground color encoded as `0xRRGGBBAA`.

### `backgroundColorRgba: uint32`

Background color encoded as `0xRRGGBBAA`.

### `isBold: boolean`

Whether this run is bold.

### `isItalic: boolean`

Whether this run is italic.

### `isUnderlined: boolean`

Whether this run is underlined.

### `isStruckThrough: boolean`

Whether this run is struck through.

### `isSuperscript: boolean`

Whether this run is superscript.

### `isSubscript: boolean`

Whether this run is subscript.

### `isMisspelled: boolean`

Whether this run carries one spelling error annotation.

### `isGrammarError: boolean`

Whether this run carries one grammar error annotation.

### `linkUrl: string`

Canonical URL for link runs.
