<!-- Public documentation export; not library implementation source. -->
# StyledText

[Integration guide](https://docs.lumencharts.com/charting-library/reference/compatibility) · [Reference index](https://docs.lumencharts.com/charting-library/api/)

Public contract reference. This declaration describes types and callback shapes; availability is constrained by the linked integration guide and the runtime capability. Legacy product-specific fields are not a promise of implementation.

## text {#text}

```ts
text: string;
```

Use the type signature above and the integration guide for the owning capability.

## font {#font}

```ts
font?: string;
```

Use the type signature above and the integration guide for the owning capability.

## fontFamily {#fontfamily}

```ts
fontFamily?: string;
```

Use the type signature above and the integration guide for the owning capability.

## fontFeatureSettings {#fontfeaturesettings}

```ts
fontFeatureSettings?: string;
```

Use the type signature above and the integration guide for the owning capability.

## fontKerning {#fontkerning}

```ts
fontKerning?: string;
```

Use the type signature above and the integration guide for the owning capability.

## fontOpticalSizing {#fontopticalsizing}

```ts
fontOpticalSizing?: string;
```

Use the type signature above and the integration guide for the owning capability.

## fontPalette {#fontpalette}

```ts
fontPalette?: string;
```

Use the type signature above and the integration guide for the owning capability.

## fontSize {#fontsize}

```ts
fontSize?: string;
```

Use the type signature above and the integration guide for the owning capability.

## fontSizeAdjust {#fontsizeadjust}

```ts
fontSizeAdjust?: string;
```

Use the type signature above and the integration guide for the owning capability.

## fontStretch {#fontstretch}

```ts
fontStretch?: string;
```

Use the type signature above and the integration guide for the owning capability.

## fontStyle {#fontstyle}

```ts
fontStyle?: string;
```

Use the type signature above and the integration guide for the owning capability.

## fontSynthesis {#fontsynthesis}

```ts
fontSynthesis?: string;
```

Use the type signature above and the integration guide for the owning capability.

## fontVariant {#fontvariant}

```ts
fontVariant?: string;
```

Use the type signature above and the integration guide for the owning capability.

## fontVariantAlternates {#fontvariantalternates}

```ts
fontVariantAlternates?: string;
```

Use the type signature above and the integration guide for the owning capability.

## fontVariantCaps {#fontvariantcaps}

```ts
fontVariantCaps?: string;
```

Use the type signature above and the integration guide for the owning capability.

## fontVariantEastAsian {#fontvarianteastasian}

```ts
fontVariantEastAsian?: string;
```

Use the type signature above and the integration guide for the owning capability.

## fontVariantLigatures {#fontvariantligatures}

```ts
fontVariantLigatures?: string;
```

Use the type signature above and the integration guide for the owning capability.

## fontVariantNumeric {#fontvariantnumeric}

```ts
fontVariantNumeric?: string;
```

Use the type signature above and the integration guide for the owning capability.

## fontVariantPosition {#fontvariantposition}

```ts
fontVariantPosition?: string;
```

Use the type signature above and the integration guide for the owning capability.

## fontVariationSettings {#fontvariationsettings}

```ts
fontVariationSettings?: string;
```

Use the type signature above and the integration guide for the owning capability.

## fontWeight {#fontweight}

```ts
fontWeight?: string;
```

Use the type signature above and the integration guide for the owning capability.

## color {#color}

```ts
color?: string;
```

Use the type signature above and the integration guide for the owning capability.

## lineHeight {#lineheight}

```ts
lineHeight?: string;
```

Use the type signature above and the integration guide for the owning capability.

## letterSpacing {#letterspacing}

```ts
letterSpacing?: string;
```

Use the type signature above and the integration guide for the owning capability.

---
Documentation page: https://docs.lumencharts.com/charting-library/api/StyledText
